delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/06/01/23:25:44

Date: Fri, 2 Jun 2000 08:54:07 +0530
Message-Id: <200006020324.IAA01539@vsnl.net.in>
From: Prashant TR <prashant_tr AT yahoo DOT com>
To: djgpp AT delorie DOT com
In-reply-to: <39371BE9.56CF1170@fujixerox.co.jp> (message from Burgupalli
Chaitanya on Fri, 02 Jun 2000 11:28:57 +0900)
Subject: Re: compiling c++
References: <39371BE9 DOT 56CF1170 AT fujixerox DOT co DOT jp>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> How can i compile a c++ program using djgpp?
> I tried compiling a small file which included iostream and the 
> compiler said it could not find the file. I did download the 
> gpp2952b.zip and extravcted the file to the djgpp directory.
> Is there anything else i am missing. (Changes to the autoexec.bat etc..)

No changes to autoexec.bat except for what you must have done originally,
i.e.

set DJGPP=C:\DJGPP\DJGPP.ENV
PATH=C:\DJGPP\BIN;%PATH%

To compile C++ programs, you'll have to use:

gpp -o test.exe test.c

- Raw text -


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