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] |
Thanx!! After ignoring libgcc1-test and having made a symbolic link in the build-gcc dir to the sparc as it worked! Now I'll try to use my brand new cross-compiler! And after this one I'll make more cross-compilers to other targets, put then in rpm format and make it available for the benefit of the community! [], 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 On Mon, 21 Apr 1997, Doug Evans wrote: > From: Doug Evans <dje@cygnus.com> > To: acme@conectiva.com.br > Cc: crossgcc@cygnus.com > Date: Mon, 21 Apr 1997 09:58:49 -0700 > Subject: Re: Linux -> solaris2.5 > > 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. >