Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
8 years, 9 months ago.
MBED under Eclipse with Cross ARM GCC
I exported a project as described in https://developer.mbed.org/handbook/Exporting-to-Make to compile it with Eclipse.
The eclipse project is configured to use the GNU Tools for ARM Embedded Processors :
When I build the project, I get a lot of warnings related to SVCALL as well as errors error: unknown type name 'class'. This makes make think that the build process tries to compile everything as if they was only C code and not C++ as well.
I don't understand why as the makefile differentiate C and C++ files:
makefile extract
AS = $(GCC_BIN)arm-none-eabi-as CC = $(GCC_BIN)arm-none-eabi-gcc CPP = $(GCC_BIN)arm-none-eabi-g++ LD = $(GCC_BIN)arm-none-eabi-gcc OBJCOPY = $(GCC_BIN)arm-none-eabi-objcopy OBJDUMP = $(GCC_BIN)arm-none-eabi-objdump SIZE = $(GCC_BIN)arm-none-eabi-size
Any idea on how I could solve that? Thank you