This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Cannot build GCC for Cortex-M0
- From: Andriy Sukhynyuk <asukhynyuk at yahoo dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Tue, 31 Aug 2010 03:16:49 -0700 (PDT)
- Subject: Cannot build GCC for Cortex-M0
Hi guys,
I have been trying to build cross toolchain for Cortex-M0 (using MinGW/msys)
for quite a while with no success.
I tried to run configure with many different arguments.
Particularly I am interested to know why the following line is successful for
strongarm1110 build but if I change --with-cpu to --with-cpu=cortex-m0 the
build would fail with complaint"cannot compute suffix of object files".
../gcc-4.5.0/configure --target=arm-none-eabi --with-cpu=strongarm1110
--build=i686-pc-mingw32 --host=i686-pc-mingw32 --prefix=/f/cross-gcc/4.5.0
--disable-nls --disable-shared --disable-threads --with-gnu-gcc --with-gnu-ld
--with-gnu-as --with-dwarf2 --enable-languages=c,c++ --disable-interwork
--disable-multilib --with-gmp=/f/cross-gcc/4.5.0 --with-mpfr=/f/cross-gcc/4.5.0
--with-mpc=/f/cross-gcc/4.5.0 --with-newlib
--with-headers=../../newlib-1.18.0/newlib-1.18.0/newlib/libc/include
--disable-libssp --disable-libstdcxx-pch --disable-libmudflap --disable-libgomp
-v
Please, anybody!
Best regards,
Andriy Sukhynyuk