delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/08/24/10:27:36

To: "Mr. Richard Seabrook" <seabrook AT umbc DOT edu>, djgpp AT sun DOT soe DOT clarkson DOT edu
From: A DOT APPLEYARD AT fs1 DOT mt DOT umist DOT ac DOT uk
Date: 24 Aug 93 15:05:34 GMT
Subject: Re: Help for C++ install

  "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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019