Mail Archives: djgpp/2000/11/05/14:00:28
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
- Raw text -