[LLVMdev] llvm-gcc linking errors

Duncan Sands baldrick at free.fr
Tue Jul 29 08:15:51 PDT 2008


Hi,

> I was under the impression that llvm-gcc (and g++) could be used as a
> standin for plain gcc, without any extra options needed on the
> command-line. Is this correct?

it is.

> If so, then I'm at a loss why I get the linking errors below when using
> llvm-gcc compared to a successful gcc build. The multiply defined symbols
> reported all seem to come from <stdlib.h>
> 
> Any clues?

Not really.  Does it work ok with a simple "hello world" program?
What platform are you on?

Ciao,

Duncan.



More information about the llvm-dev mailing list