This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: crosstest.sh fails on make tests call in glibc


Friedhelm Wolf wrote:
The original call was:
cd /usr/local/crosstool-0.28-rc37/build/i686-pc-linux-gnu/gcc-3.3.3-glibc-2.3.2/build-glibc/elf && gcc -O -Wall -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -include ../config.h /usr/src/glibc-2.3.2/elf/check-textrel.c -o check-textrel
/usr/src/glibc-2.3.2/elf/check-textrel.c:21:22: byteswap.h: No such file or directory

Hmm. It's been a long time, and I don't remember the script well, but it seems fishy that it's using 'gcc' instead of 'i686-pc-linux-gnu-gcc'. that's the problem. Maybe if you did

PATH=/usr/local/crosstool-0.28-rc37/build/i686-pc-linux-gnu/gcc-3.3.3-glibc-2.3.2/i686-pc-linux-gnu/bin:"$PATH"
export PATH

before running glibc's "make test", it would pick up the right gcc.
(That's a little dangerous, since it will break anything
that needs your workstation's gcc, but maybe glibc's "make test"
doesn't need the native gcc.)

- Dan
--
Trying to get a job as a c++ developer?  See http://kegel.com/academy/getting-hired.html


------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


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