Mail Archives: djgpp/1993/08/24/10:27:36
"Mr. Richard Seabrook" <seabrook AT umbc DOT edu> wrote on Tue 24 Aug 1993 08:27:52
-0400 (EDT) (Subject: Help for C++ install):-
> I have set up djgpp according to the README and gcc works fine but I can't
seem to get a c++ prog to compile. Would someone kindly point out where in
the DOCs I might find instructions for c++ compiles? It's for a community
college c++ course which starts next week, so there's some urgency. Thanks,
Dick S. Anne Arundel Community College
If you type 'gcc filename':-
If the filename ends in '.c', it is treated as C.
If the filename ends in '.cc', it is treated as C++.
If the filename ends in '.s', it is treated as a sort of assembler code
which is an intermediate stage in compilation.
If the filename ends in '.o', it is treated as fully compiled and ready for
linking.
If the filename ends in '.c', it is treated as C.
These filename suffixes must be in <lowercase> in the gcc call.
- Raw text -