Mail Archives: djgpp/1995/02/16/11:45:46
> D:\SRC\CAPPER\FIVE>cc1plus cube.cc
> cube.cc:1: parse error before `/'
> cube.cc:3: undefined or invalid # directive
IMHO, cc1plus isn't designed to be run directly. You
should instead call it thusly:
gcc -c cube.cc
Gcc.exe takes care of calling the preprocessor (cpp.exe)
before cc1plus, so that all the comments and preprocessor
directives like #define and #include are stripped. It also
calls these programs with appropriate switches about which
you don't want to know.
- Raw text -