This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
m32r-elf libgloss problem in newlib 1.9.0
- To: newlib at sources dot redhat dot com
- Subject: m32r-elf libgloss problem in newlib 1.9.0
- From: Joel Sherrill <joel dot sherrill at OARcorp dot com>
- Date: Tue, 24 Jul 2001 15:06:49 -0500
- Organization: OAR Corporation
- Reply-To: joel dot sherrill at OARcorp dot com
The build fails with...
/usr3/ftp_archive/gnu/gcc/ss/b3/b-m32r-elf/gcc/xgcc
-B/usr3/ftp_archive/gnu/gcc/
ss/b3/b-m32r-elf/gcc/ -nostdinc
-B/usr3/ftp_archive/gnu/gcc/ss/b3/b-m32r-elf/m32
r-elf/newlib/ -isystem
/usr3/ftp_archive/gnu/gcc/ss/b3/b-m32r-elf/m32r-elf/newli
b/targ-include -isystem
/usr3/ftp_archive/gnu/gcc/ss/b3/gcc-30-cvs/newlib/libc/i
nclude -B/opt/gnucross/m32r-elf/bin/ -B/opt/gnucross/m32r-elf/lib/ -isystem
/opt
/gnucross/m32r-elf/include -O2 -g -I.
-I../../../../gcc-30-cvs/libgloss/m32r/..
`if [ -d ./../../newlib ]; then echo -I./../../newlib/targ-include
-I../../../.
./gcc-30-cvs/libgloss/m32r/../../newlib/libc/include; fi` -O2 -I.
-I../../../../
gcc-30-cvs/libgloss/m32r/.. -c -g -Os
../../../../gcc-30-cvs/libgloss/m32r/m32r-
lib.c
make[2]: *** No rule to make target
`../../../../gcc-30-cvs/libgloss/m32r/../../
gdb/m32r-stub.c', needed by `m32r-stub.o'. Stop.
make[2]: Leaving directory
`/usr3/ftp_archive/gnu/gcc/ss/b3/b-m32r-elf/m32r-elf/
libgloss/m32r'
It looks like that the libgloss included with newlib 1.9.0 has never been
built outside a one-source tree with gdb. I just checked CVS and the
Makefile.in still reaches up and over into gdb. How should this be fixed?
--
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