Debian Codegraph @

doc/web/compilers.html

raw
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
2 "http://www.w3.org/TR/REC-html40/loose.dtd">
3 <!-- This document was created with Latte version 2.1 -->
4 <!-- For information on Latte, see http://www.latte.org/ -->
5 <html>
6 <head><meta name="generator" content="Latte 2.1"><title>supported compilers</title>
7 <meta name="author" content="Martin Pool">
8 <meta name="keywords" content="distributed, make, build, gcc,
9 parallel, network, networked, faster, free, fast, paralel, cc, c,
10 C++, Objective C, ObjC, compile, compiler, compilation,
11 simple, GPL, GNU, Linux, BSD, Unix, software, development,
12 developer, TeamBuilder, quick, dmake, pvmake,
13 transparent, easy, workstations, Solaris, IncrediBuild,
14 productivity, speed, time, tool, performance, hardware,
15 agents, nfs, libraries, source, headers, workload,
16 buildfarm, farm, server, cluster, clustered, clustering, MOSIX, OpenMOSIX">
17 <link rel="SHORTCUT ICON" href="favicon.ico">
18 <link type="text/css" rel="stylesheet" href="distcc-green.css">
19 <link type="text/html" rel="top" href="index.html">
20 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></head>
21 <body vlink="#003300" text="#000000" link="#003300" bgcolor="#ffffff" alink="#336633"><p><table width="100%"><tr><td valign="top"><div class="navbar"><ul>
22 <li><a href="index.html">distcc</a></li>
23 <li><a href="http://code.google.com/p/distcc/source/browse/trunk">source</a>
24 <li><a href="http://code.google.com/p/distcc/downloads/list">binaries</a></li>
25 <li><a href="http://distcc.googlecode.com/svn/trunk/NEWS">news</a></li>
26 <li><a href="scenarios.html">scenarios</a></li>
27 <li><a href="results.html">testimonials</a></li>
28 <li><a href="benchmark.html">benchmarks</a></li>
29 <li><a href="security.html">security</a></li>
30 <li><a href="distcc-lca-2004.html">whitepaper</a></li>
31 <li><a href="http://distcc.googlecode.com/svn/trunk/doc/web/man/">Man pages</a></li>
32 <li><a href="faq.html">FAQ</a></li>
33
34 <p>
35 <li><a href="http://code.google.com/p/distcc/issues/list">report a bug</a></li>
36 <li><a href="https://lists.samba.org/mailman/listinfo/distcc">mailing list</a>
37 <ul><li><a href="mailto:[email protected]">post</a></li>
38 <li><a href="http://lists.samba.org/archive/distcc/">archive</a></li>
39 <li><a href="news://news.gmane.org/gmane.comp.compilers.distcc">newsgroup</a></li></ul>
40 </li>
41 <li><a href="http://freshmeat.net/projects/distcc">Freshmeat</a>
42 <ul><li><a href="http://freshmeat.net/subscribe/28140">be notified</a></li></ul>
43 </li>
44
45 <p>
46 <li>related:</li>
47 <ul>
48 <li><a title="How to use distcc and Gentoo" href="http://www.gentoo.org/doc/en/distcc.xml">Gentoo</a></li>
49 <li><a title="Script to ease building cross-compilers and toolchains" href="http://kegel.com/crosstool/">crosstool</a></li>
50 <li><a title="Cache compiler results" href="https://ccache.dev/">ccache</a></li>
51 <li><a title="Centralized control over distcc and ccache" href="http://ccontrol.ozlabs.org/">ccontrol</a></li>
52 <li><a title="Smart job scheduler" href="http://dmucs.sourceforge.net/">dmucs</a></li>
53 </ul>
54 <p><p></td> <td valign="top"><div class="body"><h1 class="title">supported compilers</h1>
55
56 <p><dl><dt>gcc</dt>
57 <dd>The main focus of distcc is <a href="http://gcc.gnu.org/">GCC</a>,
58 the Free GNU C Compiler.
59
60 <p>Compilation of C, C++, Objective C and Objective C++ can be
61 distributed by distcc. All recent versions (from 2.9 up) should
62 work. This includes versions of gcc distributed in development
63 kits from various vendors, including those for the Sony
64 Playstation and Apple OS X.
65
66 <p>Other languages supported by the GNU compiler collection such as
67 Java, Ada and FORTRAN are not supported because their compilation
68 process is very different.</dd>
69
70
71 <p><dt>icc</dt>
72 <dd><a href="http://www.intel.com/software/products/compilers/clin/">icc</a> is a proprietary C/C++ compiler for i386 and ia64 from
73 Intel. icc is claimed to be source, object and command-line
74 compatible with gcc and so should work with distcc. (However,
75 some people have reported bugs in particular versions of icc that
76 cause problems with distcc.)</dd>
77
78 <p><dt>Sun CC</dt>
79 <dd>Sun's proprietary C compiler is reported to work with distcc in C
80 mode. It appears that Sun CC cannot compile C++ templates
81 correctly when using a separate preprocessor, so it is generally
82 not practical to compile C++ using Sun CC and distcc.</dd>
83
84 <p><dt>Microsoft C</dt>
85 <dd>There is experimental support for Microsoft's compiler using a wrapper,
86 <a href="http://www.mail-archive.com/[email protected]/msg02263.html"><tt>wrapmsvc.exe</tt></a>,
87 that makes it behave like gcc.</dd></dl>
88
89
90 <p>For all compilers it is very important to have the same version installed
91 on all machines participating in the build.
92
93 <p>The main feature required by distcc is that the compiler must be able
94 to run the preprocessor separately, and then compile the preprocessor
95 output from a file. This was a basic part of the original design of
96 C, but some compilers seem to have lost the ability to do this.
97 However, this feature is not required if you use distcc's "pump" mode.
98
99 <p>Secondarily, distcc is currently hardcoded to suit gcc's behaviour and
100 command-line syntax, so only compilers that act like gcc will work.
101 This could in principle be changed.
102
103 <p>If you want to report results with any of these compilers or
104 information on a new compiler please send mail to distcc at lists.samba.org.</div></td>
105 </tr></table>
106 <div class="thanks">Copyright &copy; 2002&ndash;2004 Martin Pool.
107 distcc is a trademark of Martin Pool.
108
109 <p>Send comments to <tt>distcc(at)lists.samba.org</tt>,
110 or talk to us on <tt>#distcc</tt> on <a href="http://oftc.net/">irc.oftc.net</a>.</div></body>
111 </html>