How to use GNU ARM binutils for cortex-M4? When I try to compile with -mcpu=cortex-M4 -march=armV7e-m I get 'bad value in switches'.
Hi Jens,
I'm cross-compiling on a Win8 machine. I have installed gcc-arm-embedded toolchain from the ARM team. Compiler version 4.9.3. It includes the Red Hat newlib version 2.1.0. I try this out in the coocox IDE.
Tnx!
jvanmont,
how can I get the compiler? I want cross-compiling environment on Winows 8.
Best regards,Yasuhiko Koumoto.
yasuhikokoumoto The toolchain can be picked from this source GCC ARM Embedded in Launchpad
It builds for cortex-M under cygwin env with make.
Hi jvanmont,
thank you for the beneficial information! I just wanted such the compiler as supported the thumb-2 instruction set and even Cortex-M7 specific instructions.
Best regards,
Yasuhiko Koumoto.