9 years, 6 months ago.

offline compiler options

How does one build an application with a compiler option? In this case I'd like to compile with GCC_ARM compiler option -std=c++11 How do I do this as I've tried python make.py -m NUCLEO_F401RE -t GCC_ARM -o std=c++11 -p25 what do I need to do to have the std-c++11 option? I've looked in options.py make.py, etc.

I'm using the offline compiler (not the one on the mbed website).

1 Answer

9 years, 6 months ago.

ello,

the options to compile a mbed library are predefined in the scripts. the exporter generates a makefile project for gcc arm tool, where you can change compiler and liker flags, for your application. The mbed library does not require cpp 11.

Regards, 0xc0170