Difference between revisions of "Add support for more compilers to distcc"

From CDOT Wiki
Jump to: navigation, search
 
Line 5: Line 5:
 
== Project Description ==
 
== 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, perhaps Java, C#, or something else.
+
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
 
Necessary Skills: C, Python, Makefile
Line 14: Line 14:
  
 
== Project Contributor(s) ==
 
== Project Contributor(s) ==
 +
Once the 0.1 release is complete, testers will be needed to try compiling on a variety of LANs.
  
 
== Project Details ==
 
== Project Details ==
 +
While the earlier work done on this project suggests that only a hand-full of functions need to be coded, both Java and C# compile in a manner significantly different than C.  Regardless, the following functions are the minimum which need to be created:
 +
 +
<ul>
 +
<li>arg.c
 +
  <ul>
 +
  <li>dcc_<compilerName>_set_action_opt</li>
 +
  <li>dcc_<compilerName>_set_output</li>
 +
  <li>dcc_<compilerName>_scan_args</li>
 +
  </ul>
 +
</li>
 +
<li>strip.c
 +
  <ul>
 +
  <li>dcc_<compilerName>_strip_local_args</li>
 +
  <li>dcc_<compilerName>_strip_dasho</li>
 +
  </ul>
 +
</li>
 +
<li>filename.c
 +
  <ul>
 +
  <li>dcc_<compilerName>_is_source</li>
 +
  <li>dcc_<compilerName>_is_preprocessed</li>
 +
  <li>dcc_<compilerName>_is_object</li>
 +
  <li>dcc_<compilerName>_preproc_exten</li>
 +
  </ul>
 +
</li>
 +
<li>hosts.c
 +
<ul>
 +
  <li>dcc_<compilerName>_get_hostlist</li>
 +
</ul>
 +
</li>
 +
</ul>
 +
  
 
== Project News ==
 
== Project News ==

Revision as of 22:04, 3 October 2007

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)

Peter Callaghan (pcal)

Project Contributor(s)

Once the 0.1 release is complete, testers will be needed to try compiling on a variety of LANs.

Project Details

While the earlier work done on this project suggests that only a hand-full of functions need to be coded, both Java and C# compile in a manner significantly different than C. 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


Project News