AnsweredAssumed Answered

Error1 unrecognized command line option '-nanolibc'

Question asked by al1 on Jun 30, 2015
Latest reply on Jul 1, 2015 by al1

I just installed KDS 3.0.0 on a new computer.

 

my old project that used to build just fine on KDS 2.0.0 does not work anymore when I tried to compile it using the latest KDS.

Below is the console output, I hope anyone has any clue why this happening:

 

make all

'Building target: P_34X.elf'

'Invoking: Cross ARM C++ Linker'

arm-none-eabi-g++ -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections  -g3 -T "C:/project/P_34X/Project_Settings/Linker_Files/ProcessorExpert.ld" -Xlinker --gc-sections -L"C:/project/P_34X/Project_Settings/Linker_Files" -Wl,-Map,"P_34X.map" --specs=nano.specs -nanolibc -o "P_34X.elf"  ./Sources/Events.o ./Sources/P34X.o ./Sources/main.o  ./Project_Settings/Startup_Code/startup.o  ./Generated_Code/AS1.o ./Generated_Code/AS2.o ./Generated_Code/ASerialLdd1.o ./Generated_Code/ASerialLdd2.o ./Generated_Code/BitIoLdd1.o ./Generated_Code/BitIoLdd10.o ./Generated_Code/BitIoLdd11.o ./Generated_Code/BitIoLdd12.o ./Generated_Code/BitIoLdd13.o ./Generated_Code/BitIoLdd14.o ./Generated_Code/BitIoLdd15.o ./Generated_Code/BitIoLdd16.o ./Generated_Code/BitIoLdd17.o ./Generated_Code/BitIoLdd18.o ./Generated_Code/BitIoLdd19.o ./Generated_Code/BitIoLdd2.o ./Generated_Code/BitIoLdd20.o ./Generated_Code/BitIoLdd21.o ./Generated_Code/BitIoLdd22.o ./Generated_Code/BitIoLdd23.o ./Generated_Code/BitIoLdd24.o ./Generated_Code/BitIoLdd25.o ./Generated_Code/BitIoLdd26.o ./Generated_Code/BitIoLdd27.o ./Generated_Code/BitIoLdd28.o ./Generated_Code/BitIoLdd29.o ./Generated_Code/BitIoLdd3.o ./Generated_Code/BitIoLdd30.o ./Generated_Code/BitIoLdd31.o ./Generated_Code/BitIoLdd32.o ./Generated_Code/BitIoLdd33.o ./Generated_Code/BitIoLdd34.o ./Generated_Code/BitIoLdd35.o ./Generated_Code/BitIoLdd36.o ./Generated_Code/BitIoLdd37.o ./Generated_Code/BitIoLdd38.o ./Generated_Code/BitIoLdd39.o ./Generated_Code/BitIoLdd4.o ./Generated_Code/BitIoLdd40.o ./Generated_Code/BitIoLdd41.o ./Generated_Code/BitIoLdd42.o ./Generated_Code/BitIoLdd43.o ./Generated_Code/BitIoLdd44.o ./Generated_Code/BitIoLdd45.o ./Generated_Code/BitIoLdd46.o ./Generated_Code/BitIoLdd47.o ./Generated_Code/BitIoLdd48.o ./Generated_Code/BitIoLdd49.o ./Generated_Code/BitIoLdd5.o ./Generated_Code/BitIoLdd50.o ./Generated_Code/BitIoLdd51.o ./Generated_Code/BitIoLdd52.o ./Generated_Code/BitIoLdd53.o ./Generated_Code/BitIoLdd54.o ./Generated_Code/BitIoLdd55.o ./Generated_Code/BitIoLdd56.o ./Generated_Code/BitIoLdd57.o ./Generated_Code/BitIoLdd58.o ./Generated_Code/BitIoLdd59.o ./Generated_Code/BitIoLdd6.o ./Generated_Code/BitIoLdd60.o ./Generated_Code/BitIoLdd61.o ./Generated_Code/BitIoLdd62.o ./Generated_Code/BitIoLdd63.o ./Generated_Code/BitIoLdd64.o ./Generated_Code/BitIoLdd65.o ./Generated_Code/BitIoLdd66.o ./Generated_Code/BitIoLdd67.o ./Generated_Code/BitIoLdd68.o ./Generated_Code/BitIoLdd69.o ./Generated_Code/BitIoLdd7.o ./Generated_Code/BitIoLdd70.o ./Generated_Code/BitIoLdd71.o ./Generated_Code/BitIoLdd72.o ./Generated_Code/BitIoLdd73.o ./Generated_Code/BitIoLdd74.o ./Generated_Code/BitIoLdd75.o ./Generated_Code/BitIoLdd76.o ./Generated_Code/BitIoLdd77.o ./Generated_Code/BitIoLdd78.o ./Generated_Code/BitIoLdd79.o ./Generated_Code/BitIoLdd8.o ./Generated_Code/BitIoLdd80.o ./Generated_Code/BitIoLdd81.o ./Generated_Code/BitIoLdd82.o ./Generated_Code/BitIoLdd83.o ./Generated_Code/BitIoLdd84.o ./Generated_Code/BitIoLdd85.o ./Generated_Code/BitIoLdd86.o ./Generated_Code/BitIoLdd87.o ./Generated_Code/BitIoLdd88.o ./Generated_Code/BitIoLdd89.o ./Generated_Code/BitIoLdd9.o ./Generated_Code/Cpu.o ./Generated_Code/IN1.o ./Generated_Code/IN10.o ./Generated_Code/IN11.o ./Generated_Code/IN12.o ./Generated_Code/IN13.o ./Generated_Code/IN14.o ./Generated_Code/IN15.o ./Generated_Code/IN16.o ./Generated_Code/IN17.o ./Generated_Code/IN18.o ./Generated_Code/IN19.o ./Generated_Code/IN2.o ./Generated_Code/IN20.o ./Generated_Code/IN21.o ./Generated_Code/IN3.o ./Generated_Code/IN4.o ./Generated_Code/IN5.o ./Generated_Code/IN6.o ./Generated_Code/IN7.o ./Generated_Code/IN8.o ./Generated_Code/IN9.o ./Generated_Code/OUT10_1.o ./Generated_Code/OUT10_2.o ./Generated_Code/OUT11_1.o ./Generated_Code/OUT11_2.o ./Generated_Code/OUT12_1.o ./Generated_Code/OUT12_2.o ./Generated_Code/OUT13_1.o ./Generated_Code/OUT13_2.o ./Generated_Code/OUT14_1.o ./Generated_Code/OUT14_2.o ./Generated_Code/OUT15_1.o ./Generated_Code/OUT15_2.o ./Generated_Code/OUT16_1.o ./Generated_Code/OUT16_2.o ./Generated_Code/OUT17_1.o ./Generated_Code/OUT17_2.o ./Generated_Code/OUT18_1.o ./Generated_Code/OUT18_2.o ./Generated_Code/OUT19_1.o ./Generated_Code/OUT19_2.o ./Generated_Code/OUT1_1.o ./Generated_Code/OUT1_2.o ./Generated_Code/OUT20_1.o ./Generated_Code/OUT20_2.o ./Generated_Code/OUT21_1.o ./Generated_Code/OUT21_2.o ./Generated_Code/OUT22_1.o ./Generated_Code/OUT22_2.o ./Generated_Code/OUT23_1.o ./Generated_Code/OUT23_2.o ./Generated_Code/OUT24_1.o ./Generated_Code/OUT24_2.o ./Generated_Code/OUT25_1.o ./Generated_Code/OUT25_2.o ./Generated_Code/OUT26_1.o ./Generated_Code/OUT26_2.o ./Generated_Code/OUT27_1.o ./Generated_Code/OUT27_2.o ./Generated_Code/OUT28_1.o ./Generated_Code/OUT28_2.o ./Generated_Code/OUT29_1.o ./Generated_Code/OUT29_2.o ./Generated_Code/OUT2_1.o ./Generated_Code/OUT2_2.o ./Generated_Code/OUT30_1.o ./Generated_Code/OUT30_2.o ./Generated_Code/OUT31_1.o ./Generated_Code/OUT31_2.o ./Generated_Code/OUT32_1.o ./Generated_Code/OUT32_2.o ./Generated_Code/OUT33_1.o ./Generated_Code/OUT33_2.o ./Generated_Code/OUT34_1.o ./Generated_Code/OUT34_2.o ./Generated_Code/OUT3_1.o ./Generated_Code/OUT3_2.o ./Generated_Code/OUT4_1.o ./Generated_Code/OUT4_2.o ./Generated_Code/OUT5_1.o ./Generated_Code/OUT5_2.o ./Generated_Code/OUT6_1.o ./Generated_Code/OUT6_2.o ./Generated_Code/OUT7_1.o ./Generated_Code/OUT7_2.o ./Generated_Code/OUT8_1.o ./Generated_Code/OUT8_2.o ./Generated_Code/OUT9_1.o ./Generated_Code/OUT9_2.o ./Generated_Code/PE_LDD.o ./Generated_Code/TI1.o ./Generated_Code/TU1.o ./Generated_Code/TimerIntLdd1.o ./Generated_Code/Vectors.o  

arm-none-eabi-g++: error: unrecognized command line option '-nanolibc'

make: *** [P_34X.elf] Error 1

Outcomes