Eclipse Kepler SR1
Eclipse IDE for C/C++ Developers 220.127.116.1130919-0803 epp.package.cpp null
GNU ARM C/C++ Development Support (End of life) 0.5.5.201310221100 org.eclipse.cdt.cross.arm.gnu.feature.group SourceForge Project
GNU ARM C/C++ Cross Compiler Support 18.104.22.168402140758 ilg.gnuarmeclipse.managedbuild.cross.feature.group Liviu Ionescu
GNU Tools ARM Embedded\4.8 2013q4
I started from empty CrossArmGcc project, added my files (stm32f4 discovery utility lib) , build => all fine
i then decided to make a library out of the project so i changed the build artifact from executable to static library
It fail to build, error message show clearly that archiver is not defined
"arm-none-eabi- -r libSTM32F4-Discovery.a stm32f4_discovery_lis302dl.o stm32f4_discovery_audio_codec.o stm32f4_discovery.o
Cannot run program "arm-none-eabi-": Launching failed
Error: Program "arm-none-eabi-" not found in PATH"
Obviously putting ar in project->prorerties->C/C++ Build->Setting-> toolchains->Archiver edit fix it .
Setting visible as executable
setting as library
I Tried starting from default stm32f4 std periph project (to build a lib) and find the same issue
I've change builder to "CDT internal" instead of default gnu make so don't know if that can arm/conflict or if it's project template that is missing cross_ar definition ?
Log in to post a comment.