From: "Christian von Schultz" Newsgroups: comp.os.msdos.djgpp References: <7pt9sm$b0m$1 AT nnrp1 DOT deja DOT com> Subject: SV: question Lines: 32 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Message-ID: Date: Tue, 24 Aug 1999 13:32:29 GMT NNTP-Posting-Host: 195.67.248.44 X-Complaints-To: abuse AT telia DOT com X-Trace: newsb.telia.net 935501549 195.67.248.44 (Tue, 24 Aug 1999 15:32:29 CEST) NNTP-Posting-Date: Tue, 24 Aug 1999 15:32:29 CEST Organization: Telia Internet To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Use gxx world.cc -o world.exe C++ programs needs the program g++, called gxx under DOS. g++ calls gcc later, so don't remove gcc Johan Venter skrev i diskussionsgruppsmeddelandet:qJvw3.4743$ei1 DOT 9960 AT newsfeeds DOT bigpond DOT com... > Chili wrote in message > news:7pt9sm$b0m$1 AT nnrp1 DOT deja DOT com... > > Writing wrong I think. Try this: gcc world.cc -o world.exe > > Chili, it doesn't matter what order you specify the switches. The original > poster obviously hasn't got gcc in his path. > > To orignal poster: Have you set up the DJGPP environment variable? Have you > added djgpp/bin to your PATH? If not, add the following to your autoexec.bat > and reboot (this assumes djgpp is installed in c:\djgpp): > > SET DJGPP=C:\DJGPP\DJGPP.ENV > SET PATH=C:\DJGPP\BIN;%PATH% > > -- > Johan Venter > ICQ 3643877 > surf.to/djgppig > > >