This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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: Crosstool 0.27 error for ARM9TDMI


Patrice Gagnon wrote:
> Here's my demo.sh:
> eval `cat arm9tdmi.dat gcc-3.3.2-glibc-2.3.2.dat` sh all.sh --notest
> 
> Here is the content of my dat file:
>  KERNELCONFIG=$PWD/arm.config
>  TARGET=arm-9dtmi-linux-gnu
>  GCC_EXTRA_CONFIG="--with-cpu=arm9tdmi --enable-cxx-flags=-mcpu=arm9tdmi"
>  TARGET_CFLAGS="-O"
> 
> With this configuration I got the following error while compiling what 
> seemed to be a floating point library.
> Error: selected processor does not support `rfs r3'
> 
> So I chose to remove the floating point support:
>  KERNELCONFIG=$PWD/arm.config
>  TARGET=arm-9dtmi-linux-gnu
>  GCC_EXTRA_CONFIG="--with-float=soft --with-cpu=arm9tdmi --enable-cxx-flags=-mcpu=arm9tdmi"
>  TARGET_CFLAGS="-O"
>  GLIBC_EXTRA_CONFIG="--without-fp"
> 
> With this configuration, I now have undefined reference error, see 
> below. Was anyone successful compiling a crosstool for the ARM9TDMI?

crosstool-0.27 is pretty old.  Can you try with
crosstool-0.28-rc36?

Thanks,
Dan


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


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