[Mono-list] Building Mono without .NET 2

dapphp drew at drew-phillips.com
Tue Feb 28 18:38:49 UTC 2012


I saw on 
http://mono-project.com/Unsupported_Advanced_Mono_Compile_Options#Controlling_the_Profile_to_Build
this page  that an unsupported option /--with-profile2=no/ should build Mono
without .NET 2.

I tried it and it didn't work, so looking in the configure script, I see it
is not implemented in there.  I want to build Mono for .NET 4 only since it
is only being installed to support one application which is built on .NET4. 
If possible, I'd like to reduce the disk space requirements as well as the
build time for the end user by removing 2.0 which will not be necessary. 
The plan is to compile mono to a directory within our application install
path and use this installation of Mono only for our software.

I have not yet determined if there is some compiler flag I can specify to
exclude 2.0 from the build.  Does anyone know if it is possible at this time
to build without 2.0 and if so how?

--
View this message in context: http://mono.1490590.n4.nabble.com/Building-Mono-without-NET-2-tp4429097p4429097.html
Sent from the Mono - General mailing list archive at Nabble.com.


More information about the Mono-list mailing list