I would like to add an excerpt from the console viw (last lines)
Building file: ../Project_Settings/Startup_Code/system_MKL46Z4.c
Invoking: Cross ARM C Compiler
arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall -g3 -D"CPU_MKL46Z256VLH4" -I"../Sources" -I"../Project_Settings/Startup_Code" -I"../SDK/platform/CMSIS/Include" -I"../SDK/platform/devices" -I"../SDK/platform/devices/MKL46Z4/include" -I"/home/deadbrain2/platform/embedded/KSDK_1.3.0/platform/utilities/inc" -I"/home/deadbrain2/platform/embedded/KSDK_1.3.0/platform/utilities/src" -I/home/lispybear/platform/embedded/KSDK_1.3.0/platform/osa/inc -I/home/lispybear/platform/embedded/KSDK_1.3.0/platform/hal/inc -I/home/lispybear/platform/embedded/KSDK_1.3.0/platform/system/inc -I/home/lispybear/platform/embedded/KSDK_1.3.0/examples/frdmkl46z -I/home/lispybear/platform/embedded/KSDK_1.3.0/platform/drivers/inc -std=c99 -MMD -MP -MF"Project_Settings/Startup_Code/system_MKL46Z4.d" -MT"Project_Settings/Startup_Code/system_MKL46Z4.o" -c -o "Project_Settings/Startup_Code/system_MKL46Z4.o" "../Project_Settings/Startup_Code/system_MKL46Z4.c"
Finished building: ../Project_Settings/Startup_Code/system_MKL46Z4.c
Building target: test1.elf
Invoking: Cross ARM C++ Linker
arm-none-eabi-g++ -mcpu=cortex-m0plus -mthumb -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall -g3 -T "MKL46Z256xxx4_flash.ld" -Xlinker --gc-sections -L"/home/lispybear/workspaces/embedded-dev-mars/test1/Project_Settings/Linker_Files" -Wl,-Map,"test1.map" -specs=nosys.specs -specs=nano.specs -Xlinker -z -Xlinker muldefs -o "test1.elf" ./Sources/Utilities/fsl_debug_console.o ./Sources/hardware_init.o ./Sources/main.o ./Sources/pin_init.o ./Project_Settings/Startup_Code/startup.o ./Project_Settings/Startup_Code/startup_MKL46Z4.o ./Project_Settings/Startup_Code/system_MKL46Z4.o -llibtemplatestatic
/home/lispybear/platform/embedded/gcc-arm-none-eabi-4_8-2014q3/bin/../lib/gcc/arm-none-eabi/4.8.4/../../../../arm-none-eabi/bin/ld: cannot find -llibtemplatestatic
collect2: error: ld returned 1 exit status
makefile:59: recipe for target 'test1.elf' failed
make: *** [test1.elf] Error 1
I wondered why this project uses the arm-none-eabi-g++ while it is a plain C one ? Can I change that in the CDT complex settings?
It may be the source for this problem ?
Kind regards
Jerome