m32r-elf newlib 1.10.0 libgloss problem

Doug Evans dje@transmeta.com
Thu Feb 27 19:33:00 GMT 2003


I hate this too.  There is no real solution acceptable to everyone
(that I'm aware of).
Just copy m32r-stub.c from a gdb release to your sandbox
and hack the makefile to find it.

Joel Sherrill wrote:

>Hi,
>
>I think the m32-elf libgloss in newlib 1.11.0 is suffering from
>"up and over" references:
>
>/opt/usr3/ftp_archive/gnu/gcc/ss/b-3.3/b-m32r-elf/gcc/xgcc
>-B/opt/usr3/ftp_archive/gnu/gcc/ss/b-3.3/b-m32r-elf/gcc/ -nostdinc
>-B/opt/usr3/ftp_archive/gnu/gcc/ss/b-3.3/b-m32r-elf/m32r-elf/newlib/
>-isystem
>/opt/usr3/ftp_archive/gnu/gcc/ss/b-3.3/b-m32r-elf/m32r-elf/newlib/targ-include
>-isystem
>/opt/usr3/ftp_archive/gnu/gcc/ss/b-3.3/gcc-3.3-branch/newlib/libc/include
>-B/opt/gnucross-test/m32r-elf/bin/ -B/opt/gnucross-test/m32r-elf/lib/
>-isystem /opt/gnucross-test/m32r-elf/include -O2 -g  -I.
>-I../../../../gcc-3.3-branch/libgloss/m32r/.. `if [ -d ./../../newlib ];
>then echo -I./../../newlib/targ-include
>-I../../../../gcc-3.3-branch/libgloss/m32r/../../newlib/libc/include;
>fi` -O2 -I. -I../../../../gcc-3.3-branch/libgloss/m32r/.. -c -g -Os
>../../../../gcc-3.3-branch/libgloss/m32r/m32r-lib.c
>make[2]: *** No rule to make target
>`../../../../gcc-3.3-branch/libgloss/m32r/../../gdb/m32r-stub.c', needed
>by `m32r-stub.o'.
>make[2]: Target `all' not remade because of errors.
>make[2]: Leaving directory
>`/opt/usr3/ftp_archive/gnu/gcc/ss/b-3.3/b-m32r-elf/m32r-elf/libgloss/m32r'
>
>What's the best way to resolve this?  
>




More information about the Newlib mailing list