Date: Mon, 29 Dec 1997 10:20:52 +0200 (IST) From: Eli Zaretskii To: Pi cc: djgpp AT delorie DOT com Subject: Re: Basic setup In-Reply-To: <01bd13fa$afa94620$4be341c2@mop01777> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk 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.