0

I'm using the GNU Arm Embedded Toolchain to cross-compile on Windows, and was wondering what the following highlighted executables were used for. There are already arm-none-eabi-gcc and arm-none-eabi-g++ for compiling C and C++ code respectively, so I'm guessing arm-none-eabi-c++ and arm-none-eabi-cpp handle some sort of C++ pre-processing or linking of C++ libraries?

enter image description here

abc
  • 212
  • 3
  • 14

1 Answers1

1

c++ is the common "standard" name for a C++ compiler. It's the same as g++.

cpp runs the preprocessor only.

KamilCuk
  • 120,984
  • 8
  • 59
  • 111
  • So you could call ```arm-none-eabi-c++``` in place of ```arm-none-eabi-g++``` with equivalent behavior? I am noticing they have the same size. – abc Mar 17 '20 at 02:28
  • 1
    Yes. Sometimes c++ is a link to g++ (or, well, to other compiler). – KamilCuk Mar 17 '20 at 02:30