This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
Re: error compiling for THUMB-COFF
- To: mrburns <mrburns at tiscalinet dot it>
- Subject: Re: error compiling for THUMB-COFF
- From: "J. Johnston" <jjohnstn at cygnus dot com>
- Date: Thu, 24 May 2001 17:37:11 -0400
- CC: newlib at sources dot redhat dot com
- Organization: Red Hat Inc.
- References: <3B0C5D33.74EE7999@tiscalinet.it>
mrburns wrote:
>
> hello,
> I have installed binutils-2.10.1 and cross compiler gcc-2.95.3 for the
> target thumb-coff.
>
> while installing newlib-1.9.0 I get the following error message:
>
> ../../../../../../../source/newlib-1.9.0/newlib/libc/sys/arm/setjmp.S:
> Assembler messages:
> ../../../../../../../source/newlib-1.9.0/newlib/libc/sys/arm/setjmp.S:97:
> Error: r15 not allowed here
> ../../../../../../../source/newlib-1.9.0/newlib/libc/sys/arm/setjmp.S:117:
> Error: r15 not allowed here
> thumb-coff-gcc: file path prefix
> `/home/marco/tesi/newlib/build/thumb-coff/newlib/' never used
> make[6]: *** [setjmp.o] Error 1
>
> the configure command I give is:
>
> configure --target=thumb-coff
>
> any idea?
A fix has been made to that file since newlib-1.9.0 went out. Please look at the newlib-cvs web
archive:
http://sources.redhat.com/ml/newlib-cvs/2001-q1/msg00043.html and see if that patch solves your
problems.
-- Jeff J.