Mail Archives: djgpp/1997/12/13/13:39:05
Tron schrieb:
>
> djgpp is a c++ compiler isnt??? how can i compile c file name.cpp with
> gcc...
>
> like we do with c files
> example: gcc -Wall -c name.c bla...bla...bla...
>
gcc -Wall -c name.cpp bla...bla...bla...
gcc selects automatically the correct compiler to compile
your source file by examining the suffix of your file.
(gcc itself is _not_ a compiler, it is "simply" a driver
program, which calls all the nedded compilers, assembler,
linker ...)
Additionally, or better FIRST, read the file README.1ST from
the DJGPP distrib, where your question is answered.
Robert
--
******************************************************
* email: Robert Hoehne <robert DOT hoehne AT gmx DOT net> *
* Post: Am Berg 3, D-09573 Dittmannsdorf, Germany *
* WWW: http://www.tu-chemnitz.de/~sho/rho *
******************************************************
- Raw text -