我想在我的Ubuntu Linux电脑上安装GNU ARM工具链。我已经下载了
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
我提取了它们。我首先成功安装了binutils。在第二步中,我打算建立第一个gcc引导安装程序,以便依次编译newlib(在下一步中)。但是无论如何,我都无法成功安装gcc:
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
程序一直运行,直到我收到以下错误消息:
//... 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
我很感激任何提示。提前致谢。 诚挚地,穆拉特
apt-cache search arm | grep gcc
。您似乎已经掌握了概念,因此crosstool-ng可以快速为您提供适合您需求的编译器。 - artless noise