[distcc] distcc with icc -c -g

Tom Van Laerhoven tom.vanlaerhoven at luc.ac.be
Thu Mar 13 09:52:32 GMT 2003


Op woensdag 12 maart 2003 20:06, schreef u:
> On Wed, Mar 12, 2003 at 11:35:21AM +0100, Tom Van Laerhoven wrote:
> > $ distcc icc -c -g conftest.c -o conftest
> >
> > /usr/lib/crt1.o(.text+0x18): In function `_start':
> > : undefined reference to `main'
>
> I was hoping you'd test that without distcc to see if the error was
> occurring solely because of an icc option-parsing bug.  If the command
> succeeds without distcc on the command-line, there there is some other
> side-effect of distcc that is causing the option-parsing weirdness.

Ok:
$ icc -c -g conftest.c -o conftest

succeeds!

> In any case, I wonder if a potential solution (that would hopefully work
> on all systems) would be to change distcc to prefix the "-o FILE" args
> to the start of the command-line.  Does this prefixing work with icc?
> E.g.:
>
>     icc -o conftest -c -g conftest.c

This works.

> and thus this is OK?
>
>     distcc icc -o conftest -c -g conftest.c

This doesn't work. It produces the same error as before:

/usr/lib/crt1.o(.text+0x18): In function `_start':
: undefined reference to `main'

> ..wayne..

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