llvm-gcc linking errors

Hello all,

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?

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?

Thanks,
Paul

llvm@assumetheposition.nl wrote:

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>

This is with LLVM 2.3, b.t.w

Paul

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.