[Mono-list] building against non-default runtime

Ian Norton ian.norton-badrul at thales-esecurity.com
Wed May 25 15:06:06 EDT 2011


On Tue, May 24, 2011 at 05:01:39PM +0100, Ian Norton wrote:
> Hello,
> 
> I've recently been building and testing out mono from github. Things worked
> quite well until i decided to rebuild gnome-destkop-sharp, now i have things
> like gtksourceview2.0 that are built from the 4.0 profile where really I'd like
> them to remain useful 2.0 assemblies.
> 
> When I build with the ./autogen.sh && make  or ./configure && make, are
> there any flags I can give or environment variables I can set to force the
> compiler to be given -sdk:2 ?

There is no environment variable or configure option to do this (yet).

I got around this by appending '-sdk:2' to CSFLAGS inside the configure or
configure.in files and re-building, works so far.

Ian



More information about the Mono-list mailing list