problems with building cross gcc

Alexander Zhuckov zuav@int.spb.ru
Fri Oct 9 08:11:00 GMT 1998


Hi!

We are trying to build Linux-based cross gcc (C and C++) for
LynxOS-i386.

For binutils we done:

  cd binutils-2.9.1
  ./configure --target=i386-lynx-lynxos
  ./make
  ./make install

For gcc (2.8.1) we done:

  cd gcc-2.8.1
  ./configure --target=i386-lynx-lynxos
  ./make

On the stage of testing cross compiler we got:

Testing libgcc1.  Ignore linker warning messages.
./xgcc -B./ -DCROSS_COMPILE -DIN_GCC    -g -D__Lynx__ -I./include  libgcc1-test.o -o libgcc1-test \
  -nostartfiles -nostdlib `./xgcc -B./ --print-libgcc-file-name`
/home/jack/gnu/cross/i386-lynx-lynxos/bin/ld: warning: cannot find entry symbol _main; defaulting to 000000f8
libgcc1-test.o: In function `mainCRTStartup':
/home/jack/gnu/gcc-build/../gcc-2.8.1/libgcc1-test.c(.stab+0x14): undefined reference to `Ltext0'
/home/jack/gnu/gcc-build/../gcc-2.8.1/libgcc1-test.c(.stab+0x20): undefined reference to `Ltext0'
make: *** [libgcc1-test] Error 1


libgcc1.a we built on i386-lynx machine and used it while building cross gcc,
but nevertheless :(

Any ideas?

Thanks for advance.
-- 
Alexander Zhuckov   zuav@int.spb.ru   2:5030/518.50
________________________________________________
To get help for the crossgcc list, send mail to
crossgcc-request@cygnus.com with the text 'help'
(without the quotes) in the body of the message.



More information about the crossgcc mailing list