From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Davies To: gcc-help@gcc.gnu.org Subject: Cross compiler Date: Tue, 10 Jul 2001 03:33:00 -0000 Message-id: X-SW-Source: 2001-07/msg00147.html I've been trying to build a cross compiler with gcc 3.0 targeting HP-UX 10.20 from a host of HP-UX 11.00. Here's the configure options: ../configure --prefix=/home/users/daviesr/10.20 --enable-shared=libstdc+ + --with-gnu-as --with-gnu-ld --enable-threads=dce --enable-languages=c+ + --enable-version-specific-runtime-libs --target=hppa1.1-hp-hpux10.20 - -with-headers=/home/users/daviesr/gcc-3.0/objdir/include I will post the configure file if needed. It seems to chug along nicely for a while, then breaks here: Testing libgcc1. Ignore linker warning messages. /home/users/daviesr/gcc-3.0/objdir/gcc/xgcc -B/home/users/daviesr/gcc-3. 0/objdir/gcc/ -B/home/users/daviesr/10.20/hppa1.1-hp-hpux10.20/bin/ -B/ home/users/daviesr/10.20/hppa1.1-hp-hpux10.20/lib/ -isystem /home/users/ daviesr/10.20/hppa1.1-hp-hpux10.20/include -DCROSS_COMPILE -DIN_GCC - W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes - isystem ./include libgcc1-test.o -o libgcc1-test \ -nostartfiles -nostdlib `/home/users/daviesr/gcc-3.0/objdir/gcc/xgcc -B/ home/users/daviesr/gcc-3.0/objdir/gcc/ -B/home/users/daviesr/10.20/ hppa1.1-hp-hpux10.20/bin/ -B/home/users/daviesr/10.20/hppa1.1-hp-hpux10. 20/lib/ -isystem /home/users/daviesr/10.20/hppa1.1-hp-hpux10.20/include --print-libgcc-file-name` collect2: cannot find `ld' What have I overlooked/failed to realise/going to say doh 20 times ? -- -- RichyBoy