<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Martin Pool wrote:
<blockquote
 cite="mid:e01316480912011625x987bd8fhaa37e402b48a246b@mail.gmail.com"
 type="cite">
  <blockquote type="cite">
    <pre wrap="">
If I pass -x c to
&nbsp; distcc.exe arm-none-symbianelf-g++.exe ... -x c ...
I get
arm-none-symbianelf-g++.exe: warning: `-x c' after last input file has no
effect
arm-none-symbianelf-g++.exe: no input files
    </pre>
  </blockquote>
  <pre wrap=""><!---->
What's in the ...?  If you are putting -x c after the source files,
the error is reasonable.  If you're doing it correctly and distcc's
messing up the order, that would be a bug.

  </pre>
</blockquote>
-x c is before source file, actually the source file is last.<br>
<blockquote
 cite="mid:e01316480912011625x987bd8fhaa37e402b48a246b@mail.gmail.com"
 type="cite">
  <pre wrap=""></pre>
  <blockquote type="cite">
    <pre wrap="">With -x c++ there is no warning, but I am not sure if it handle that.

Problem 2:
There is compiler flag -nostdinc 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.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
-nostdinc only affects searching for include files, therefore it'd be
appropriate not to pass it to the server?

  </pre>
</blockquote>
Even in non-pump mode, compiler on server side will faile to build
without this flag.<br>
<br>
I solved the problem with wrapper on client and on server side, but
that's not nice.<br>
<br>
Tihomir<br>
<br>
<br>
</body>
</html>