<div class="gmail_quote">2009/10/27 Tihomir Heidelberg - 9a4gl <span dir="ltr">&lt;<a href="mailto:9a4gl@hamradio.hr">9a4gl@hamradio.hr</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">





<div bgcolor="#ffffff" text="#000000">
Hi,<br>
<br>
having problem with gcce compiler from CSL Arm Toolchain using distcc,
command arguments parsing problem, description bellow...<br>
<br>
<h3>According to distcc FAQ:<br>
</h3>
<blockquote>
  <h3><small>Compiler command line parsing problems?</small></h3>
  <p><small> distcc parses the compiler command line to work out what
operation is being invoked, and what are the input and output files.
The semantics of <tt>gcc</tt> command lines is fairly complex, and has
changed slightly over time. There may be some valid command lines that
distcc understands differently to gcc, though none are known at the
moment. These ought to cause the command to be run locally, but it is
possible that it would cause a failure. Either case should be reported
as a bug. </small></p>
</blockquote>
Using:<br>
- Cygwin<br>
- <tt>distcc 2.18.3 i686-pc-cygwin (protocols 1 and 2) (default port
3632)<br>
  built Apr 25 2005 11:10:45<br>
  Copyright (C) 2002, 2003, 2004 by Martin Pool.<br>
  Includes miniLZO (C) 1996-2002 by Markus Franz Xaver Johannes
Oberhumer.</tt><br>
As I see there is no newer version for cygwin, and on
<a href="http://distcc.samba.org/download.html" target="_blank">http://distcc.samba.org/download.html</a> the same is available as source<br></div></blockquote><div><br>The distcc site has moved to <a href="http://distcc.org">distcc.org</a>.<br>

The latest version is 3.1 and it should work for Cygwin.  You may need to build from the source distribution.<br> <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<div bgcolor="#ffffff" text="#000000">
Using: CSL Arm Toolchain with gcce compiler for ARM, building binaries
for Symbian OS<br>
<tt>arm-none-symbianelf-g++.exe (GCC) 3.4.3 (release) (CodeSourcery ARM
Q1C 2005)<br>
Copyright (C) 2004 Free Software Foundation, Inc.<br>
This is free software; see the source for copying conditions.  There is
NO<br>
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.<br>
</tt><br>
<b>Problem 1:</b><br>
This compiler has option to tell which compiler to use, c or cpp,
option is:<br>
  -x &lt;language&gt;            Specify the language of the following
input files<br>
                           Permissible languages include: c c++
assembler none<br>
                           &#39;none&#39; means revert to the default behavior
of<br>
                           guessing the language based on the file&#39;s
extension<br>
If I pass -x c to <br>
<tt>  distcc.exe arm-none-symbianelf-g++.exe ... <b>-x c</b> ...<br>
I get<br>
arm-none-symbianelf-g++.exe: warning: `-x c&#39; after last input file has
no effect<br>
arm-none-symbianelf-g++.exe: no input files<br>
</tt><br>
With <b>-x c++</b> there is no warning, but I am not sure if it handle
that.<br>
<br>
<b>Problem 2:</b><br>
There is compiler flag <b>-nostdinc</b> which does not cause problems
to distcc.exe calling preprocessor, but this option is not passed to
distccd server. It seems that distcc.exe does not recognize it, so it
ignores this.<br></div></blockquote><div><br>distcc is open-source... patches welcome!<br><br>Cheers,<br>   Fergus. <br></div></div><br>-- <br>Fergus Henderson &lt;<a href="mailto:fergus@google.com">fergus@google.com</a>&gt;<br>