This is the mail archive of the crossgcc@cygnus.com mailing list for the crossgcc project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
-----BEGIN PGP SIGNED MESSAGE----- Hi, I'm trying to make a cross compiler from linux-i386 to sparc-sun-solaris2.5 and I'm following the instructions on the FAQ in the crossgcc ftp site... I applied the patch for cross-compilation but now I'm stuck in the libgcc1-test... here's the messages: Testing libgcc1. Ignore linker warning messages. ./xgcc -B./ -DCROSS_COMPILE -DIN_GCC -g -I./include libgcc1-test.o -o libgcc1-test \ -nostartfiles -nostdlib `./xgcc -B./ --print-libgcc-file-name` libgcc1-test.o: In function `main_without__main': /usr/src/build-gcc/../gcc-2.7.2.1/libgcc1-test.c:19: undefined reference to `umul' /usr/src/build-gcc/../gcc-2.7.2.1/libgcc1-test.c:20: undefined reference to `div' /usr/src/build-gcc/../gcc-2.7.2.1/libgcc1-test.c:21: undefined reference to `rem' /usr/src/build-gcc/../gcc-2.7.2.1/libgcc1-test.c:23: undefined reference to `udiv' /usr/src/build-gcc/../gcc-2.7.2.1/libgcc1-test.c:24: undefined reference to `urem' make: *** [libgcc1-test] Error 1 The only thing I've done that's not in the FAQ was to copy the /usr/include tree from a live solaris 2.5 to the build-gcc/include directoy, because during the libgcc1-test compilation it complained about the file unistd.h, that I think was the one from a live solaris 2.5 machine... Any ideas??? [], Arnaldo Carvalho de Melo Those who do not understand Unix Linux Documentation Project Member are condemned to reinvent it, http://www.conectiva.com.br/~acme/LDP-br poorly. PGP public key available at ftp://plucky.conectiva.com.br/pub/pgp/acme.asc -----BEGIN PGP SIGNATURE----- Version: 2.6.3i Charset: noconv Comment: Processed by mkpgp, a Pine/PGP interface. iQCVAwUBM1pqLvakBmLrozYRAQGStgP+KFv3dn7JJjMkP91o2NSLflg/Sg0YI0u7 TmLXwP9vIw4HMm1natmmG8bxoh5JPIRT0trg1Vblgf/Z6rpN2BTIazeynKop/6uK e8OmQjnIkxY8wkhQ2PJzCfcIk7u9zRVBlGd6kIWDnyLRqfCYB3o6UDWJYa0cOM3C cnb4vJCiMDY= =E7lO -----END PGP SIGNATURE-----