This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Error during the gcc 3.4.0 cross compiler making for arm linux ar m1136jfs
- From: llewelly at xmission dot com
- To: Delaspre Ludovic-rc149c <RC149C at freescale dot com>
- Cc: "Gcc Help (E-mail)" <gcc-help at gcc dot gnu dot org>
- Date: 13 Jun 2004 08:01:44 -0600
- Subject: Re: Error during the gcc 3.4.0 cross compiler making for arm linux ar m1136jfs
- References: <9587061CFA8BD511878400D0B7828EE60D0D2F06@zfr11exm01-bckp.sps.mot.com>
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 ?
Please try the cross gcc list, crossgcc at sources.redhat.com .