From: "John M. Aldrich" Newsgroups: comp.os.msdos.djgpp Subject: Re: Error when compiling Date: Sat, 21 Sep 1996 12:39:24 -0700 Organization: Three pounds of chaos and a pinch of salt Lines: 51 Message-ID: <3244446C.4D32@cs.com> References: <3241b2dd DOT 3076799 AT nntp DOT iamerica DOT net> Reply-To: fighteer AT cs DOT com NNTP-Posting-Host: ppp211.cs.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: chandler AT iamerica DOT net To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Trey Chandler wrote: > > I recently downloaded DJGPP v2 and cannot compile anything. I keep > getting the error "Cannot 'exe' as is. Installation error." That is > not the exact error, but is real close. Also, can somebody tell me > how to get Emacs. Any help would be appreciated. That's "Cannot exec 'as'. Installation error." You failed to set up your environment correctly so that gcc can find your files. Did you: 1) Add C:\DJGPP\BIN to your PATH in AUTOEXEC.BAT? (of course, if you put DJGPP somewhere other than that, change the directory appropriately) 2) Add the line: SET DJGPP=C:/DJGPP/DJGPP.ENV to your AUTOEXEC.BAT? (again, if DJGPP is somewhere else, change the directory) If you did these things, please post the following things here on the group: 1) The contents of your CONFIG.SYS and AUTOEXEC.BAT 2) Type 'set >environ.lst' from DOS and post the file environ.lst 3) Type 'go32-v2' from the DJGPP directory and post what it prints 4) Compile your program normally, but add these things to your command line: redir -o gcc.lst -eo gcc -v [add your normal command line here] Post the contents of 'gcc.lst'. 5) If you have made any changes to the file 'DJGPP.ENV' in the root directory of your DJGPP installation, please post that here as well. GNU Emacs 19.34 can be downloaded in source form at the following URL: ftp://ftp.gnu.ai.mit.edu/pub/emacs/emacs-19.34.tar.gz It will compile "out of the box" with DJGPP v2, assuming you are configured properly, of course. :) Eli: I noticed a file 'emacs-19.34b.tar.gz' when I looked on mit.edu just now. What is that? A beta version or a bugfixed version? Thanks! -- --------------------------------------------------------------------- | John M. Aldrich, aka Fighteer I | fighteer AT cs DOT com | | * Proud user of DJGPP! * | http://www.cs.com/fighteer | | ObJoke: If Bill Gates were a robber, not only would he | | shoot you, but he'd send you a bill for the bullets. | ---------------------------------------------------------------------