This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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 ?

Please try the cross gcc list, crossgcc at sources.redhat.com .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]