Message-ID: <39374D84.C1B2AA17@fujixerox.co.jp> Date: Fri, 02 Jun 2000 15:00:36 +0900 From: Burgupalli Chaitanya Organization: Wipro Technologies X-Mailer: Mozilla 4.73 [en] (Win98; I) X-Accept-Language: en,ja MIME-Version: 1.0 To: djgpp AT delorie DOT com Subject: Re: compiling c++ References: <39371BE9 DOT 56CF1170 AT fujixerox DOT co DOT jp> <200006020324 DOT IAA01539 AT vsnl DOT net DOT in> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com Thanks a lot Mr.Prashanth I was using gcc to compile. Chaitanya B Prashant TR wrote: > > > 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