Re: Compiling for arm-none-eabi, but BFD doesn't support it.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



4.10.2014, 19:22, Rena kirjoitti:
Hi folks,

I'm using Lubuntu 13.10 (on AMD x86_64), and I want to compile code
for a microcontroller. My package manager doesn't seem to have any
arm-none-eabi packages so I'm trying to build gcc for that platform
from source.

I've started by compiling binutils-2.9.1 like so:
$ linux32 ./configure --target=arm-none-eabi --with-cpu=cortex-m4
--enable-interwork --disable-multilib --with-gnu-as --with-gnu-ld
--disable-nls --disable-libssp --disable-werror

(I've tried various options, and always end up getting this same
result. The target platform is the Teensy 3.1 microcontroller.)

This command eventually fails, telling me: BFD does not support target
arm-none-eabi.

Are you joking? The binutils release 2.9.1 is from 1998 !!! It's year 2014 now...

Judging from Google results, it looks like people have been able to
compile this successfully (and obviously have built gcc toolchain for
this platform somehow). What am I doing wrong?


The current binutils version is 2.24 from Dec 2 2013, please try it! It SHOULD support
the 'arm-eabi' target!





[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux