Mail Archives: djgpp/1997/04/10/22:58:57
Chris Croughton wrote:
>
> Sorry, totally wrong. The extension for C++ with the GNU and
> DJGPP compilers is .cc, .cxx or .C (note the capital C), .cpp
> isn't recognised (Borland C++ does require .cpp). Alternatively
> you can specify the option -x c++, but that then compiles
> all following files as C++.
DJGPP also recognizes the .cpp filename extension. There is, however, a
known bug in the linker that interferes with debugging programs that
have anything other than .cc as the extension.
--
John M. Aldrich <fighteer AT cs DOT com>
* Anything that happens, happens.
* Anything that, in happening, causes something else to happen,
causes something else to happen.
* Anything that, in happening, causes itself to happen again, happens
again.
* It doesn't necessarily do it in chronological order, though.
--- Douglas Adams
- Raw text -