[En-Nut-Discussion] Compiler/linker problems using arm-none-eabi-gcc for C and C++ code

Giorgio giorgiospike at yahoo.no
Mon Sep 23 16:06:15 CEST 2013

Hi Harald,

Thanks for your quick response.
My C code uses .c and C++ uses .cpp. I have therefore tried two options,
1) I modified nut/Makerules.gcc to detect .cpp, as you suggested.
2) I changed all the .cpp extensions to .cc.
Both options still result in the same errors as before.

I also located where the linker is specified in nut/app/Makerules.gcc and
changed $(CC) to $(CXX), but that did not help, so now I am wondering if
there are any other suggestions I can try to solve my problem.

Best regards,

View this message in context: http://microcontrollers.2385.n7.nabble.com/Compiler-linker-problems-using-arm-none-eabi-gcc-for-C-and-C-code-tp185090p185110.html
Sent from the MicroControllers - Ethernut mailing list archive at Nabble.com.

More information about the En-Nut-Discussion mailing list