From: luke Newsgroups: comp.os.msdos.djgpp Subject: Re: how do you start it. Help!! Date: Thu, 01 Jul 1999 10:22:33 +1000 Organization: - Lines: 38 Message-ID: <377AB4C9.86FA91B2@ionsoftware.com.au> References: <7le1av$q91$1 AT nnrp1 DOT deja DOT com> NNTP-Posting-Host: 203.34.59.214 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: news.mel.aone.net.au 930788639 28272 203.34.59.214 (1 Jul 1999 00:23:59 GMT) NNTP-Posting-Date: 1 Jul 1999 00:23:59 GMT X-Mailer: Mozilla 4.5 [en] (Win98; I) X-Accept-Language: en To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com have you put the "\djgpp\bin" directory into your Path? if not, this is probably the reason why you can't find the "gcc.exe" file. it resides in the "\bin" directory. somewhere in the installation documentation it should tell you to add these lines to your "autoexec.bat" file: set DJGPP=c:\djgpp\djgpp.env set PATH=%path%;c:\djgpp\bin where "c:\djgpp" is the directory you've installed it to. these lines should go *after* your existing "set PATH =" line. then, to compile the program, just type (after rebooting with the above changes to your autoexec.bat file): gcc hello.c and it will give you "a.exe" which should be your program. good luck! christel50442852 AT my-deja DOT com wrote: > I have downloaded the DJGPP C compiler and that went smoothly the > installation was a breeze but when I went to run the compiler I > couldn't find an executable and this topic was not in the FAQ document. > By now you can tell I am new to this. I downloaded a tutorial and was > going to make my "hello world" program but as stated above I do not > know how to open the compiler. I was reading another tutorial and it > said to right the program in notepad. I was thinking that over but then > how does the program run if written in notepad. I just can not figure > this out. Help me please. > > Thanks in advance, > Christel. > > Sent via Deja.com http://www.deja.com/ > Share what you know. Learn what you don't.