Xref: news2.mv.net comp.os.msdos.djgpp:8274 From: "John M. Aldrich" Newsgroups: comp.os.msdos.djgpp Subject: Re: Quick little question about paths? Date: Wed, 04 Sep 1996 19:01:01 -0700 Organization: Three pounds of chaos and a pinch of salt Lines: 46 Message-ID: <322E345D.546F@cs.com> References: <50kd5t$cet AT saucer DOT cc DOT umr DOT edu> NNTP-Posting-Host: ppp211.cs.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Brian Maddox DJ-Gateway: from newsgroup comp.os.msdos.djgpp Brian Maddox wrote: > > I've got a quick question here. Okie, I'm trying to port an image > library from Unix. When I try to run the makefile (even compile an object > file by hand), I keep getting a bad command or filename error (which I'm > assuming means it can't find a header). Isn't the way to specify a path in a > makefile under djgpp like -Ig|\programs\include or is there another way? I've > also played with te LFN settings and some other things to no avail. Thanks! It's definitely not a missing header, or you'd get a different error. You should check for the following things: 1) The makefile calls a Unixy script which DOS doesn't recognize, or calls Unixy shell commands like 'rm' and 'mv'. You have to manually change it in this case, or install the GNU DOS Fileutils. 2) Your PATH is not set correctly to find the DJGPP executables. Assuming that your DJGPP is in the G:\PROGRAMS directory, you have to add G:\PROGRAMS\BIN to your path. 3) Your DJGPP environment variable is not set properly. Read the 'readme.1st' file and/or the FAQ for detailed information, but in general you must have something like: SET DJGPP=G:\PROGRAMS\DJGPP.ENV in your AUTOEXEC.BAT. Note again that this is assuming that G:\PROGRAMS is where you put your DJGPP. To check to be sure that this is working right, type SET from the DOS command line and see if the DJGPP line is in there. If not, you need to post your configuration as indicated in the FAQ here on the group so we can try to debug it. 4) Is G: a networked drive? Then you may want to look in the FAQ for tips on some problems that can appear when running DJGPP over a Novell network. The FAQ is available as v2/faq201b.zip from the same place you got DJGPP, and comes in info, html, and text forms. John -- -------------------------------------------------------------------------- | John M. Aldrich, aka Fighteer I | fighteer AT cs DOT com | | Plan: To find ANYONE willing to | http://www.cs.com/fighteer | | play Descent 2 on DWANGO! | Tagline: | --------------------------------------------------------------------------