[distcc] distcc with icc -c -g

Tom Van Laerhoven tom.vanlaerhoven at luc.ac.be
Wed Mar 12 10:35:21 GMT 2003


Op dinsdag 11 maart 2003 21:45, schreef Wayne Davison:
> On Tue, Mar 11, 2003 at 10:09:31PM +0100, Tom Van Laerhoven wrote:
> > everything goes fine, as does also:
> > $ icc -c -g conftest.c
>
> Note that distcc appends an explicit -o option onto -c commands, so how
> does icc deal with a command like this:
>
> $ icc -c -g conftest.c -o conftest
>
> Does that confuse it?

Yes, it produces the same output:

$ distcc icc -c -g conftest.c -o conftest
/usr/lib/crt1.o(.text+0x18): In function `_start':
: undefined reference to `main' 

It just seems to ignore the -c option if it placed there. If I move it to 
somewhere else in the commandline, it is accepted:

$ distcc icc -g -c conftest.c -o conftest
$ distcc icc -g conftest.c -c -o conftest
$ distcc icc -g conftest.c -o conftest -c

Tom.

-- 
Tom Van Laerhoven
Research Assistent
Expertise Centre for Digital Media - University of Limburg
Wetenschapspark 2, 3590 Diepenbeek, Belgium.
Office: +32 011 268443
Private: +32 479 367409
http://www.edm.luc.ac.be


More information about the distcc mailing list