Is it possible to specify additional header files for inclusion from the command line (using GCC 4 / C ++)?
Or are there any other files that can be included besides #include?
Reference Information. I am trying to compile a large code base on my PC. The code is usually compiled in a cluster with a complex build system (SoftRelTools - anyone?), Which is intertwined with the operating system, so it is almost impossible to install it somewhere else (literally hundreds of make files and shell scripts and encoded paths to network drives ) However, the actual code is pretty simple and compiles fine, but it lacks a lot of inclusions (mostly a la include <vector> and include <math.h> ). I assume the build system will take care of this normally, but I need to go through the code and add it manually, which I would rather avoid.
c ++ gcc include
jdm Aug 02 2018-10-02T00: 00Z
source share