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


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

libgloss problem



I have been building the RTEMS targets and some close cousins.
In doing so, I have tried to build sparc-elf and mips-elf
and tripped what I think is a problem in the libgloss support.

I am building newlib/libgloss at the same time as gcc (one-tree
style) after building binutils.  libgloss seems to  miss
the fact that it should use the "xgcc" rather than "target-gcc" 
since the target-gcc has not  been installed yet.  I guess this
is a minor Makefile problem.

A couple of examples:

sparc-elf-gcc -B/opt/test-gcc/build-sparcelf/b-bin/sparc-elf/newlib/ -isystem
/o
pt/test-gcc/build-sparcelf/b-bin/sparc-elf/newlib/targ-include -isystem
/opt/tes
t-gcc/cvs-objs/binutils/src/newlib/libc/include
-L/opt/test-gcc/build-sparcelf/b
-bin/ld  -I. -I../../../../../cvs-objs/binutils/src/libgloss/libnosys/.. `if [
-
d ./../../newlib ]; then echo -I./../../newlib/targ-include
-I../../../../../cvs
-objs/binutils/src/libgloss/libnosys/../../newlib/libc/include; fi` -O2 -I.
-I..
/../../../../cvs-objs/binutils/src/libgloss/libnosys/.. -c -g -O2
../../../../..
/cvs-objs/binutils/src/libgloss/libnosys/close.c
/bin/sh: sparc-elf-gcc: command not found     

mips-elf-gcc -B/opt/test-gcc/build-mipself/b-bin/mips-elf/newlib/ -isystem
/opt/
test-gcc/build-mipself/b-bin/mips-elf/newlib/targ-include -isystem
/opt/test-gcc
/cvs-objs/binutils/src/newlib/libc/include
-L/opt/test-gcc/build-mipself/b-bin/l
d -O2 -g  -I. -I../../../../../cvs-objs/binutils/src/libgloss/mips/.. `if [ -d
.
/../../newlib ]; then echo -I./../../newlib/targ-include
-I../../../../../cvs-ob
js/binutils/src/libgloss/mips/../../newlib/libc/include; fi` -I.
-I../../../../.
./cvs-objs/binutils/src/libgloss/mips/.. -g -O2 -c
../../../../../cvs-objs/binut
ils/src/libgloss/mips/crt0.S
/bin/sh: mips-elf-gcc: command not found

So it is clear that this is not target specific.

-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel@OARcorp.com                 On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
Support Available                (256) 722-9985


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