From: "John M. Aldrich" Newsgroups: comp.os.msdos.djgpp Subject: Re: Yet another person with compiler problems. Date: Mon, 14 Oct 1996 13:12:44 -0700 Organization: Three pounds of chaos and a pinch of salt Lines: 34 Message-ID: <32629EBC.308B@cs.com> References: <53tmt8$9kq AT news DOT ycc DOT yale DOT edu> Reply-To: fighteer AT cs DOT com NNTP-Posting-Host: ppp109.cs.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Nick Bray To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Nick Bray wrote: > > OK, sorry if this is a stupid question but I am just getting started > with djgpp and I can't get it to work at all. Whenever I run gcc(or gxx) it > says: > "gcc.exe: installation problem, cannot exec 'as': No such file or > directory(ENOENT)" 1) Follow the instructions in the 'readme.1st' file for setting up your environment with djgpp. So many people forget this, and it's the most important thing. You have to add (or better, prepend) the BIN directory of your djgpp installation to your PATH, and add the line SET DJGPP=C:\DJGPP\DJGPP.ENV (replace the path with where your djgpp is actually installed) 2) Make sure you unzipped the files with the '-d' option to recreate the directory structure. If you didn't, then you've probably got a huge mass of files in one directory, and that will never work. 3) Get the FAQ (v2/faq201b.zip) and READ it! You also need to get v2gnu/txi360b.zip to get the info browser that is used to read the djgpp documentation. Once installed, type 'info faq' to read the FAQ. -- John M. Aldrich * Anything that happens, happens. * Anything that, in happening, causes something else to happen, causes something else to happen. * Anything that, in happening, causes itself to happen again, happens again. * It doesn't necessarily do it in chronological order, though. --- Douglas Adams