I am trying to port a program over from Eclipse to Segger Embedded Studio. It is a C++14 project and I am having problems because the STLport library that is included in SES does not have std::array, cinttypes.h, or all of the Smart pointers. For this reason I would like to use newlib-nano. To do this I have tried to use external ARM-GCC tools. I have changed the tool path to point to the ARM-GCC tools (gcc-arm-none-eabi-7-2017-q4-major) and changed the External Build commands, but I don't see how to get the macros to fill the macros. For instance in the generated makefile for the SES included GCC I see "-fmessage-length=0 -fno-diagnostics-show-caret -mcpu=cortex-m4 -mlittle-endian -mfloat-abi=hard -mfpu=fpv4-sp-d16 -mthumb -mtp=soft" (among others) after the "cc1" command. However, when I select "arm-none-eabi-gcc" as the "External Build" "C Compile Command" I don't see any options included. I have tried all the macro expansions that are documented when setting the "C Compile Command" and haven't seen any change in the output command in the generated makefile.
I am using Segger Embedded Studio v3.34 on Mac OS.
Do you have a walk-through for how to setup the external tools, or at least be able to use newlib-nano instead of STLport?