delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/12/29/03:20:55

Date: Mon, 29 Dec 1997 10:20:52 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Pi <mop01777 AT mail DOT telepac DOT pt>
cc: djgpp AT delorie DOT com
Subject: Re: Basic setup
In-Reply-To: <01bd13fa$afa94620$4be341c2@mop01777>
Message-ID: <Pine.SUN.3.91.971229102032.27720J-100000@is>
MIME-Version: 1.0

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 -


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