Sunday, May 23, 2010

Compiling Mono (C# / LINUX ) from Tar Balls on Fedora 10

I was learning more about AutoConf , Automake and GNU build conventions today. Out of curiosity , I to build the Mono system from Tar balls ( from here )

It was a 27.2 MB download. I copied it into a directory under my home directory.


tar -xvf tar_file

cd mono-20100522

./configure --prefix=/home/mono
make
su
make install

After installing the stuff , i went and modified Mono C# compiler driver (driver.cs ) to build a version of compiler with my name also in the credit. I installed the whole system by repeating the above process.

Then i changed the path environment variable ($PATH)

export PATH="/home/mono/bin:$PATH"

I re-compiled some simple programs to test the change made by me.

I also compiled SLANG4.net as well.

I plan to hack the source code base , especially LINQ implementation in the future.

0 comments: