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] |
Date: Sun, 20 Apr 1997 16:11:39 -0300 (EST) From: Arnaldo Carvalho de Melo <acme@conectiva.com.br> 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??? These .o's live in libraries that come with Solaris (/usr/lib/libc.so or libc.a). I would just ignore libgcc1-test.