Wednesday, November 30, 2016

CooCox and GCC ARM 4 7 2012q4

CooCox and GCC ARM 4 7 2012q4


Real quick update for those of you struggling to make GCC ARM 4.7.3 work with CooCox.

First of all, make sure that you when to the Project menu and selected the new toolchain path (e.g. ...4.7 2012q4arm-none-eabi in) AND set the linker to the new libm.a file in the new toolchain path (e.g. ...4.7 2012q4arm-none-eabilibarmv7e-mfpulibm.a  for the Hardware FPU library option)


If you properly configure the new libraries and you are getting a compiler error saying "[cc] arm-none-eabi-gcc: error: unrecognized command line option -Wl"
Download this file: org.coocox.builder.ui_1.0.0.201212141638.jar
and put it on your CoIDE plugins folder, e.g. C:CooCoxCoIDEplugins, overwriting the one that is there.

If you have other problems, and youre trying to use printf(), then you and I are in the same boat, so hold on for the solution.  For now get rid of printf() and try to be more creative about getting data out of the uC.

Thanks to these guys for the help on this one.

S



Go to link Download