From: "Edmund Horner" Newsgroups: comp.os.msdos.djgpp References: <000c01bff203$3c8d9a80$a41bfea9 AT we DOT mediaone DOT net> Subject: Re: DJGPP Compiler Lines: 43 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Organization: Paradise Net Message-ID: <964069012.597830@shelley.paradise.net.nz> Cache-Post-Path: shelley.paradise.net.nz!unknown AT 203-79-65-27 DOT tnt8 DOT paradise DOT net DOT nz X-Cache: nntpcache 2.4.0b5 (see http://www.nntpcache.org/) Date: Thu, 20 Jul 2000 16:58:40 +1200 NNTP-Posting-Host: 203.96.152.26 X-Complaints-To: newsadmin AT xtra DOT co DOT nz X-Trace: news.xtra.co.nz 964069031 203.96.152.26 (Thu, 20 Jul 2000 16:57:11 NZST) NNTP-Posting-Date: Thu, 20 Jul 2000 16:57:11 NZST To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hi George, You need to 1. add 'c:\djgpp\bin' to your path. 2. add the variable 'djgpp=c:\djgpp\djgpp.env' to the environment. If you're not sure how to do this it's not too hard, typically you need to edit your c:\autoexec.bat file, and add these lines: SET PATH=c:\djgpp\bin;%PATH% SET DJGPP=c:\djgpp\djgpp.env I hope this works, Edmund. "george" wrote in message news:000c01bff203$3c8d9a80$a41bfea9 AT we DOT mediaone DOT net... Dear Sir I tried hard to start the compiler, But I failed to do that. So I got the following instruction: 1) Write the source code using Notepad and save it as a .cpp file. This example will use hello.cpp as the file name. 2) Go to the DOS Prompt. (Start | Program Files | MS DOS Prompt) 3) Change the directory to the directory where you saved the source code. (cd\djgpp\src) 4) Type gcc -c -Wall hello.cpp 5) Press Enter. 6) Type gxx -o hello.exe hello.o 7) Press Enter. 8) You will get an error about Stubify, this is okay. 9) Type hello.exe Unfortunately, It did not work too. Starting from # 4, I always get bad command. Please tell me what can I do. Thank you George