FW: Error during the gcc 3.4.0 cross compiler making for arm linu x ar m1136jfs

Richard Earnshaw Richard.Earnshaw@arm.com
Mon Jun 14 11:08:00 GMT 2004


On Mon, 2004-06-14 at 09:36, Delaspre Ludovic-rc149c wrote:
> -----Original Message-----
> From: llewelly@xmission.xmission.com
> [mailto:llewelly@xmission.xmission.com]On Behalf Of
> llewelly@xmission.com
> Sent: dimanche 13 juin 2004 16:02
> To: Delaspre Ludovic-rc149c
> Cc: Gcc Help (E-mail)
> Subject: Re: Error during the gcc 3.4.0 cross compiler making for arm
> linux ar m1136jfs
> 
> 
> Delaspre Ludovic-rc149c <RC149C@freescale.com> writes:
> 
> > Hi,
> > 
> > I have configured the cross compiler like this:
> > 
> > ../gcc-3.4.0/configure --srcdir=../gcc-3.4.0 --target=arm-linux --with-cpu=arm1136jfs --with-newlib --enable-languages=c,c++ --with-headers="/local/linux_baseport/src/linux-2.6.0/include/" --with-sysroot=/local/linux_baseport/src/rootdisk/fs --with-libs=/local/linux_baseport/src/linux-2.6.0/lib
> > 
> > and I have this error during the make step:
> > 
> > gcc -c   -g -O2 -DIN_GCC -DCROSS_COMPILE  -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long    -DHAVE_CONFIG_H    -I. -I. -I../../gcc-3.4.0/gcc -I../../gcc-3.4.0/gcc/. -I../../gcc-3.4.0/gcc/../include  \
> >         ../../gcc-3.4.0/gcc/config/arm/arm.c -o arm.o
> > ../../gcc-3.4.0/gcc/config/arm/arm.c: In function `arm_override_options':
> > ../../gcc-3.4.0/gcc/config/arm/arm.c:571: `TARGET_CPU_arm1136jfs' undeclared (first use in this function)
> > ../../gcc-3.4.0/gcc/config/arm/arm.c:571: (Each undeclared identifier is reported only once
> > ../../gcc-3.4.0/gcc/config/arm/arm.c:571: for each function it appears in.)
> > make[1]: *** [arm.o] Error 1
> > make[1]: Leaving directory `/usr/local/src/gcc-3.4.0-arm-linux/gcc'
> > make: *** [all-gcc] Error 2
> > 
> > 
> > Can someone help me ?
> 

arm1136 isn't supported in the FSF release of 3.4 (it will appear in
3.5).  So you will need either the CodeSourcery release of gcc-3.4 or to
use the CVS trunk release.

R.

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



More information about the crossgcc mailing list