From: ad354 AT FreeNet DOT Carleton DOT CA (James Owens) Newsgroups: comp.compression,comp.os.msdos.djgpp Subject: newbie question involving InfoZIP source and DJGPP Date: 5 Nov 2000 18:45:36 GMT Organization: The National Capital FreeNet Lines: 24 Message-ID: <8u49sg$dbj$1@freenet9.carleton.ca> NNTP-Posting-Host: freenet10 X-Trace: freenet9.carleton.ca 973449936 13683 134.117.136.30 (5 Nov 2000 18:45:36 GMT) X-Complaints-To: complaints AT ncf DOT ca NNTP-Posting-Date: 5 Nov 2000 18:45:36 GMT X-Given-Sender: ad354 AT freenet10 DOT carleton DOT ca (James Owens) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I downloaded InfoZIP source (5.41) and the DJGPP compiler (2.03) so that I could compile a special DOS self-extraction stub UNZIPSFX.EXE. I wanted to enable the command line -d option, which lets you specify a destination directory. I finally succeeded, but there's something I don't understand. According to the InfoZIP documentation, all I had to do was "define SFX_EXDIR." What I did, following hints here and there, was to un-comment a line in the DJ2 makefile (EXDIR=-SFX_EXDIR) and add a line to my AUTOEXEC.BAT (set LOCAL_ZIP=-SFX_EXDIR). This worked -- but only if I started with a completely fresh unzip of the INFOZIP downloadable, made these changes immediately, and then ran MAKE. If I ran MAKE with the unaltered source first, then my changes to the files made no difference to subsequent compiles. (I noticed that running MAKE on a fresh unzip produced many more messages -- often DFUNZIP messages -- than subsequent compiles). Obviously I was doing something wrong. How would one normally get a slight change like this to compile? -- James Owens ad354 AT Freenet DOT carleton DOT ca Ottawa, Ontario, Canada