Mail Archives: djgpp/2000/06/02/02:04:57
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
- Raw text -