This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Cross compiler


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]