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?
Asked
Active
Viewed 4,072 times
0

abc
- 212
- 3
- 14
-
1`cpp` is the preprocessor. – KamilCuk Mar 17 '20 at 02:24
-
@KamilCuk Okay, thanks – abc Mar 17 '20 at 02:27
1 Answers
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