S
Stephen Sprunk
spasmous said:spasmous a écrit : ....
Thanks - I didn't realize c++ was an alias of gcc. Sometimes, you
know,
you have to compile someone else's programs on a platform that you
don't know. man c++ was my first try, then google on Linux c++
compiler flags. Neither produced anything obviously useful.
You still haven't explained why you're trying to compile .c files with a
C++ compiler. If it's .c, use gcc (or cc). If it's .cc or .cpp, use
g++ (or c++). C and C++ are different languages, and if you use the
wrong compiler (or linker) you'll have all kinds of headaches.
S