Difference between revisions of "Add support for more compilers to distcc"
Pcallaghan (talk | contribs) m (added contributor) |
Pcallaghan (talk | contribs) (added 0.2 goals, new contributors and new contribution method) |
||
Line 14: | Line 14: | ||
== Project Contributor(s) == | == Project Contributor(s) == | ||
− | [[User:tjduavis|Timothy Duavis]] | + | <ul> |
+ | <li>[[User:Rueen|Rueen Fiez]]</li> | ||
+ | <li>[[User:tjduavis|Timothy Duavis]]</li> | ||
+ | <li>[[User:Vlam6|Vincent Lam]]</li> | ||
+ | <li>[[User:Vbala|Vijey Balasundaram]]</li> | ||
+ | </ul> | ||
Some options for contributions: | Some options for contributions: | ||
<ul> | <ul> | ||
− | <li>publish some more c# files to test with</li> | + | <li>publish/find some more c# files to test with</li> |
− | <li>test this on different OSs</ | + | <li>test this on different OSs</li> |
+ | <li>Make a comprehensive list of the set-up steps on one page, unlike the scattered links there are now</li> | ||
<li>more to be added later</li> | <li>more to be added later</li> | ||
</ul> | </ul> | ||
− | == Project Details == | + | == Project Details/News == |
+ | |||
+ | ===Goal for 0.2 release=== | ||
+ | Continue work on the previously identified functions. As of 0.1 several were still little more than shells, by the completion of 0.2 all except dcc_mcs_scan_args should be fully completed. A supplementary goal is to set up the source as a branch of the existing trunk on cdot, so testers may just check out the new code rather than having to check out the trunk and patch it. | ||
+ | |||
=== 0.1 Release === | === 0.1 Release === | ||
A patch[http://docs.google.com/Doc?id=dfkp8fkz_0hdwb6s] has been created. | A patch[http://docs.google.com/Doc?id=dfkp8fkz_0hdwb6s] has been created. | ||
Line 98: | Line 108: | ||
</ul> | </ul> | ||
− | |||
===Known Bugs === | ===Known Bugs === | ||
See the list within [[Distcc With MSVC]] | See the list within [[Distcc With MSVC]] |
Revision as of 20:46, 12 November 2007
Contents
Project Name
Add support for more compilers to distcc
Project Description
An earlier project added multi-compiler support to distcc, and then MSVC support. The framework is now in place to support even more compilers. Add support for another compiler; either Java or C#.
Necessary Skills: C, Python, Makefile
Project Leader(s)
Project Contributor(s)
Some options for contributions:
- publish/find some more c# files to test with
- test this on different OSs
- Make a comprehensive list of the set-up steps on one page, unlike the scattered links there are now
- more to be added later
Project Details/News
Goal for 0.2 release
Continue work on the previously identified functions. As of 0.1 several were still little more than shells, by the completion of 0.2 all except dcc_mcs_scan_args should be fully completed. A supplementary goal is to set up the source as a branch of the existing trunk on cdot, so testers may just check out the new code rather than having to check out the trunk and patch it.
0.1 Release
A patch[1] 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:
- get cygwin[2]
- configure cygwin[3]
- download the Mono C# compiler[4]
- put mono in your PATH
- set up an environment variable DISTCC_MCS_HOSTS=localhost
- Checkout the distcc source
- svn co svn://cdot.senecac.on.ca/distcc/trunk
- cd trunk && ./configure && make && make install
- put distcc in your PATH, before cygwin
- get the 0.1 patch[5]
- apply the patch
- from the trunk directory
- patch -p0 < pcallaghanzeropointone.txt
- configure and build distcc
- from the trunk directory
- ./configure && make && make install
- get a simple C# file[6]
- compile it
- distcc mcs hello.cs
- run it
- ./hello
Goal for 0.1 Release
- Add support for Mono's cSharp compiler[7]. 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:
- arg.c
- dcc_<compilerName>_set_action_opt
- dcc_<compilerName>_set_output
- dcc_<compilerName>_scan_args
- strip.c
- dcc_<compilerName>_strip_local_args
- dcc_<compilerName>_strip_dasho
- filename.c
- dcc_<compilerName>_is_source
- dcc_<compilerName>_is_preprocessed
- dcc_<compilerName>_is_object
- dcc_<compilerName>_preproc_exten
- hosts.c
- dcc_<compilerName>_get_hostlist
Known Bugs
See the list within Distcc With MSVC