[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[DotGNU]Compiling MCS with CSCC
From: |
Gopal V |
Subject: |
[DotGNU]Compiling MCS with CSCC |
Date: |
Mon, 10 Mar 2003 08:13:57 +0530 |
User-agent: |
Mutt/1.2.5i |
Hey All,
I just managed to compile MCS with cscc (with a few disambiguations
of course). The code showed up to be very confusing to the reader and
compiler alike with variables mirroring typenames (Type Type; and stuff)..
But after solving those 4 little hiccups , CSCC compiled it perfectly.
The attached patch and makefile will help you compile MCS and test . I
haven't been able to test this yet on my box , but I hope the cscc compiled
mcs (which looks to be a lot smaller) does work . It's been a nice test
case for cscc .
Mcs will not run on pnet because the Reflection.Emit is stubbed out , but
that doesn't mean that you can't test the parser/lexer on it :-) . The
mcs.exe does verify with ilverify and just about runs with ilrun.
So if you have a mono cvs , cd mono/mcs/mcs/ , patch < mcs.patch ,
copy makefile.cscc there and run make -f makefile.cscc .
You do need the most current cvs to test this out.
Happy debugging,
Gopal
--
The difference between insanity and genius is measured by success
mcs.patch
Description: Text document
makefile.cscc
Description: Text document
- [DotGNU]Compiling MCS with CSCC,
Gopal V <=