cross-compiling for arm include extra libraries

  arm, armv7, c++, cross-compiling

I am cross-compiling C++ for armv7-m using arm-none-eabi tool-chain. However, I noticed that the tool chain included extra files from newlib/libc/stdlib which are not relevant to my project like fvwrite.c fvprint.c wcrtomb.c .

Is there a compiler flag that can remove these extra includes and how to assure that they are irrelevant to my project ?

Source: Windows Questions C++

LEAVE A COMMENT