X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: Steven Hallis Newsgroups: comp.os.msdos.djgpp Subject: problem with DJGPP/Allegro Message-ID: <7ik4mvoqkj8fdadd147af1bt996j8usop1@4ax.com> X-Newsreader: Forte Agent 1.92/32.572 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 56 Date: Fri, 12 Sep 2003 23:35:12 GMT NNTP-Posting-Host: 24.194.65.35 X-Complaints-To: abuse AT rr DOT com X-Trace: twister.nyroc.rr.com 1063409712 24.194.65.35 (Fri, 12 Sep 2003 19:35:12 EDT) NNTP-Posting-Date: Fri, 12 Sep 2003 19:35:12 EDT Organization: Road Runner To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com All right, I've had quite a number of problems getting started with DJGPP, and I think it's best if I detail them from the beginning rather than assuming some of the fixes I've made were reasonable. I've read the FAQs and readmes and while I admit it's possible that I've missed some detail, I'm at a loss what that detail could be. Make result: Your DJDIR environment variable is not set correctly! It should point to the djgpp.env file: see the djgpp readme.1st for details. GCC result (just 'gcc', or gcc on a hello world type file): gcc.exe: environment variable DJGPP points to corrupt file 'c:\djgpp\djgpp.env' Relevent Environment Variables: Path=d:\djgpp\bin (I have edited it down to this just for interference free testing) DJGPP=d:\djgpp\djgpp.env Now, the first thing that raises eyebrows, for me, is the fact that the GCC result refers to the C drive, whereas the DJGPP path and files and environment variables are all clearly in or appropriately pointing to the D drive. Now, the first thing I did (aside from looking on google groups for advice, which helped naught), was try setting the djdir myself, rather than entrusting the task to the .env. This was of some 'help', and had the following result: GCC result: Works normally, compiles successfully Makefile Result: Your PATH is not set correctly! This must include the djgpp bin directory: see the djgpp readme.1st for details This suggests to me that while poking in the djdir directly was helpful, it was not solving the actual problem, and the makefile wasn't terribly well convinced despite having found something new to complain about. My thanks in advance, a post is preferable but email is just as good. Best, Steven