Open main menu

CDOT Wiki β

Changes

Add support for more compilers to distcc

1,447 bytes added, 17:58, 19 October 2007
added 0.1 release
== Project Contributor(s) ==
Once the 0.1 release is complete, testers will be needed Some options for contributions:<ul> <li>publish some more c# files to try compiling.test with</li>In the mean time, contributors could write simple C# programs <li>test this on different OSs</lI> <li>more to be used added later.</li></ul>
== Project Details ==
=== 0.1 Release ===
A patch[http://docs.google.com/Doc?id=dfkp8fkz_0hdwb6s] has been created.
Note that it is by no means anywhere near completion.
That's why this is the 0.1 release.
 
This patch has been tested on Windows XP, using cygwin to tell distcc to compile a single, simple c# file. To use it:
<ol>
<li>get cygwin[http://www.cygwin.com/]</li>
<li>configure cygwin[http://developer.mozilla.org/en/docs/Windows_build_prerequisites_using_cygwin]</li>
<li>download the Mono C# compiler[http://www.mono-project.com/Main_Page]</li>
<ul>
<li>put mono in your PATH</li>
</ul>
<li>set up an environment variable DISTCC_MCS_HOSTS=localhost</li>
<li>Checkout the distcc source</li>
<ul>
<li>svn co svn://cdot.senecac.on.ca/distcc/trunk</li>
<li>cd trunk && ./configure && make && make install</li>
<li>put distcc in your PATH, before cygwin</lI>
</ul>
<li>get the 0.1 patch[http://docs.google.com/Doc?id=dfkp8fkz_0hdwb6s]</li>
<li>apply the patch</li>
<ul>
<li>from the trunk directory</li>
<li>patch -p0 < pcallaghanzeropointone.txt</li>
</ul>
<li>configure and build distcc</li>
<ul>
<li>from the trunk directory</li>
<li>./configure && make && make install</li>
</ul>
<li>get a simple C# file[http://docs.google.com/Doc?id=dfkp8fkz_1hbrfkk]</li>
<li>compile it</li>
<ul>
<li>distcc mcs hello.cs</li>
</ul>
<li>run it</li>
<ul>
<li>./hello</li>
</ul>
</ol>
 
=== Goal for 0.1 Release ===
- Add support for Mono's cSharp compiler[http://www.mono-project.com/CSharp_Compiler]. By the 0.1 release, Distcc should be able to at least compile C# locally. While the earlier work done on [[Distcc With MSVC]] suggests that only a hand-full of functions need to be coded in order for it to add a new compiler, both Java and C# compile in a manner significantly different than C. This will likely cause some trouble shortly...regardless, the following functions are the minimum which need to be created:
</li>
</ul>
 
== Project News ==
===Known Bugs ===
See the list within [[Distcc With MSVC]]