1 |
billium schrieb: |
2 |
> billium wrote: |
3 |
> |
4 |
>> I am trying to build a toolchain for a STM32 board. |
5 |
>> I use: crossdev -s1 arm-unknown-elf-gnu |
6 |
>> |
7 |
>> but that fails in binutils, o/p of log: |
8 |
>> checking target system type... Invalid configuration |
9 |
>> `arm-unknown-elf-gnu': machine `arm-unknown-elf' not recognized |
10 |
>> |
11 |
>> yet crossdev -s1 arm-unknown-linux-gnu works |
12 |
>> |
13 |
>> Linux-2.6.27-gentoo-r8-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_6000+-with-glibc2.2.5 |
14 |
>> Portage 2.1.6.7 (default/linux/amd64/2008.0/desktop, gcc-4.3.3, |
15 |
>> glibc-2.8_p20080602-r1, 2.6.27-gentoo-r8 x86_64) |
16 |
>> |
17 |
>> Any help please? |
18 |
>> |
19 |
>> Billy |
20 |
>> |
21 |
>> |
22 |
>> |
23 |
> My mistake .. I should have used: crossdev -s1 --without-headers arm-elf |
24 |
> |
25 |
afaik arm-softfloat-elf should also work and should be used as the STM32 |
26 |
doesn't have a floating point unit... (I use it on a luminary board) |
27 |
what I'm still wondering, how do I enable the arm EABI? do I have to |
28 |
configure this at build time, can it be done through a compiler switch |
29 |
or at the end is this enabled anyway? afaik you need EABI if you want to |
30 |
link you code against libraries which were build with a different |
31 |
compiler, say IAR |
32 |
|
33 |
/martin |