[Mono-dev] Recent C# compiler changes
Miguel de Icaza
miguel at novell.com
Thu Feb 3 11:06:11 EST 2011
> A new compiler option has been introduced called "sdk" with 2 values at
> the moment (2, 4). It allows to build against predefined framework
> version without manually specifying mscorlib location when compiling
> directly using mcs compiler. The default value is 4.
Although I mentioned this on IRC, I am not sure if you ever saw it.
Is it possible to instead of using a set of preconfigured numbers for
the SDK, that we could provide a string, so that:
Makes mcs look in $prefix/lib/mono/STRING
That way we do not hardcode the constant, and we can have different
profiles just by building that directory and invoking the compiler
with that option.
More information about the Mono-devel-list