Mail Archives: djgpp/1997/12/29/03:20:55
On 29 Dec 1997, Pi wrote:
> I cannot however find the runtime options for the cc1plus.exe file.
cc1plus is not meant to be run directly. There's the compilation
driver called `gcc' that you should invoke; it will then call all the
compiler passes, including cc1plus, for you.
The gcc switches are explained in the on-line manual. From the DOS
prompt type "info gcc invoking" and read there. (You will need the
hypertext reader info.exe for this; if you don't have it installed,
download and install v2gnu/txi390b.zip.)
> I have programmed before in C++ using Borland 4.5 and just typed Cpp
> to get it to compile and link. Could someone point me in the right
> direction please.
CPP is the preprocessor, you cannot compile with it. Last time I
checked, to compile with Borland you say something like "bcc foo.cpp",
which in DJGPP is pronounced "gcc foo.cc". The file v2/readme.1st,
available from the same place you got DJGPP, has a few examples of
compilation command lines; please read it.
- Raw text -