lpcware

Newlib Nano libraries missing in LPCXpresso 7.6?

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by philippschrader on Fri Jan 30 20:00:15 MST 2015
I just upgraded to LPCXpresso 7.6 and I can't seem to build my project anymore.

The "libc_s.a" and "libstdc++_s.a" files are no longer there.

Even creating a new project through the GUI wizard results in a linker error where those libs are missing.


Building target: trial_m4.axf
Invoking: MCU C++ Linker
arm-none-eabi-c++ -nostdlib -L"/home/user/LPCXpresso/workspace/CMSIS_LPC43xx_DriverLib/Debug" -Xlinker -Map="trial_m4.map" -Xlinker --gc-sections -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -T "trial_m4_Debug.ld" -o "trial_m4.axf"  ./src/cr_cpp_config.o ./src/cr_startup_lpc43xx.o ./src/crp.o ./src/trial_m4.o   -lCMSIS_LPC43xx_DriverLib
/usr/local/lpcxpresso_7.6.0_321/lpcxpresso/tools/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/bin/ld: cannot find libc_s.a
/usr/local/lpcxpresso_7.6.0_321/lpcxpresso/tools/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/bin/ld: cannot find libstdc++_s.a
collect2: error: ld returned 1 exit status
make: *** [trial_m4.axf] Error 1

Outcomes