building cross compiler - c++ and gcc-3.0.2

Adrian von Bidder avbidder@acter.ch
Tue Oct 30 06:07:00 GMT 2001


Heyho!

(those who are on both gcc and gcc-help: sorry to bother you over on gcc
- I guess here is the more appropriate place.)

I'm trying to get a c++ x86-linux to arm-uclinux cross compiler
toolchain, gcc-3.0.2. c compiler builds fine, and c++ compiler - without
libstdc++ - also builds. But how do I build libstdc++?

If I leave the libstdc++ - directory in the gcc directory tree, I get an
error in make executing libiberty/configure (after it has successfully
built all libgcc varaints) on 'check wether C compiler works'.
Apparently it can't find my libc (of course - there isn't one, at this
point...) - it tries to link with crt1.o and all these files.

Now - using the c compiler - I successfully built ucLibc and am
wondering how to tell the build system to either not link with libc  at
this ponit (is this possible at all?) or where the libc files are.
 
greets from Zürich
-- vbi



More information about the Gcc-help mailing list