Martin Gysel wrote: > billium schrieb: > >> billium wrote: >> >> >>> I am trying to build a toolchain for a STM32 board. >>> I use: crossdev -s1 arm-unknown-elf-gnu >>> >>> but that fails in binutils, o/p of log: >>> checking target system type... Invalid configuration >>> `arm-unknown-elf-gnu': machine `arm-unknown-elf' not recognized >>> >>> yet crossdev -s1 arm-unknown-linux-gnu works >>> >>> Linux-2.6.27-gentoo-r8-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_6000+-with-glibc2.2.5 >>> Portage 2.1.6.7 (default/linux/amd64/2008.0/desktop, gcc-4.3.3, >>> glibc-2.8_p20080602-r1, 2.6.27-gentoo-r8 x86_64) >>> >>> Any help please? >>> >>> Billy >>> >>> >>> >>> >> My mistake .. I should have used: crossdev -s1 --without-headers arm-elf >> >> > afaik arm-softfloat-elf should also work and should be used as the STM32 > doesn't have a floating point unit... (I use it on a luminary board) > what I'm still wondering, how do I enable the arm EABI? do I have to > configure this at build time, can it be done through a compiler switch > or at the end is this enabled anyway? afaik you need EABI if you want to > link you code against libraries which were build with a different > compiler, say IAR > > /martin > > > Hello Martin Thanks for your answer. Did not look at it yesterday, as it was sunny in the UK :). I also tried arm-softfloat-elf and got the same error. I do not know about switching the EABI. Do you know how to include newlib? Could you please post your linker script / makefile as I am having linker problems ..not finding file.
Many thanks Billy
