Question

I try to setup a gnu arm toochain on my Ubuntu Linux computer. I already downloaded

tar -xvf gcc-4.8.2.tar.bz2
tar -xvf binutils-2.24.tar.bz2
tar -xvf newlib-2.1.0.tar.gz 
tar -xvf insight-6.8.tar.bz2 

and extracted them. I started with installing the binutils succeccfully OK. In my second step I intended to biuld up the first gcc bootstrap installation to compile newlib in turn (in the next step). But anyway I could not succeed the gcc installation:

sudo ../gcc-4.8.2/configure --target=arm-elf --prefix=/opt/gnuarm --enable-interwork --enable-multilib --enable-languages="c,c++" --enable-target-optspace --with-float=soft --with-newlib --with-headers=../newlib-2.1.0/newlib/libc/include/ --disable-nls 

It runs until I got following error message:

//... a lot of checkings...
checking for clock_t... yes
checking for F_SETLKW... yes
checking if mkdir takes one argument... no
*** Configuration arm-unknown-elf not supported
make: *** [configure-gcc] Fehler 1

I appreciate any hints . Thanks in advance. Sincerly Murat

Était-ce utile?

La solution

Ok I solved it by selecting another target. The issue is that in gcc 4.7 arm-elf was obsolete and in 4.8 dropped. So you have to build your toolchain with an older gcc (4.6 or older) or you should select another target.

I decided to compile my toolchain for -target=arm-none-eabi (embedded application binary interface), which should fit my target. Thank you very much.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top