[Mono-dev] Recent C# compiler changes

Rafael Teixeira monoman at gmail.com
Thu Feb 3 12:21:02 EST 2011


I think both ways should be supported.

If it starts with a number and is a valid constant, use it. (easier
for people building interactively in the command line), but for any
other pattern try to just concat as suggested (easier for makefiles
and to support custom frameworks)

Just my two cents,

Rafael "Monoman" Teixeira
---------------------------------------
"We live in a world operated by science and technology. We have also
arranged things so that almost no one understands science and
technology. This is a prescription for disaster. We might get away
with it for a while, but sooner or later this combustible mixture of
ignorance and power is going to blow up in our faces."
-Carl Sagan



On Thu, Feb 3, 2011 at 2:11 PM, Rodrigo B. de Oliveira
<rodrigobamboo at gmail.com> wrote:
> On Thu, Feb 3, 2011 at 2:06 PM, Miguel de Icaza <miguel at novell.com> wrote:
>> ...
>> Is it possible to instead of using a set of preconfigured numbers for
>> the SDK, that we could provide a string, so that:
>>
>> -sdk:STRING
>>
>> 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.
>>
>
> +1
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>


More information about the Mono-devel-list mailing list