[Mono-dev] Building mcs from source without mono
Joachim Ante
joe at unity3d.com
Sat May 2 07:03:58 EDT 2009
Hi,
I placed this in mcs/build/profiles. (I tried a couple different
values for BOOTSTRAP_PROFILE, but can't figure out what it should be)

Then i do:
cd mcs/class/corlib
make PROFILE=unity
(This is on a completely clean 2.4 mcs svn checkout)
the output i get is:
make all-local
cd ./../.. && make PROFILE=net_1_1_bootstrap
Running make from the mcs directory is not supported. Run make from
the parent directory (if using a tarball), or from the directory
where the runtime is checked out (if using an SVN checkout).
make[2]: *** [dir-check] Error 1
make[1]: *** [../../class/lib/net_1_1_bootstrap/sn.exe] Error 2
make: *** [do-all] Error 2
Is there something else i have to change to run this on a clean mcs
checkout?
Joachim Ante
>
>> Is there an easy way to remove the dependency to the mono folder
>> completely?
>
> Not easy as a general framework, but for the handful of assemblies
> that
> you guys are using, you could probably just create a profile in:
>
> mcs/build/profiles
>
> And create say a "unity" profile where you overwrite the compiler
> settings to not be a bootstrap compile.
>
> And then you can build the assemblies that you are interested in like
> this:
>
> for i in mscorlib System System.Xml System.Core; do
> (cd $i; make PROFILE=unity)
> done
>
> Miguel.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20090502/b080cdb7/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: unity.make
Type: application/octet-stream
Size: 177 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20090502/b080cdb7/attachment.obj
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20090502/b080cdb7/attachment-0001.html
More information about the Mono-devel-list
mailing list