Mail Archives: djgpp-workers/1999/04/22/05:15:09
On Tue, 20 Apr 1999, DJ Delorie wrote:
> > Because ${DJDIR} works even for those who do NOT install it in /djgpp
> > (like myself ;-).
>
> For packages that can dymanically find where djgpp is installed,
> great. We're all set. For the rest, which hard-code a static path, I
> suggest we hard-code /djgpp instead of /usr/local or whatnot.
In my experience, the absolute majority of GNU packages only use
--prefix to put it and its derivatives into Makefile's, and only in
conjunction with "make install" or in creating absolute path names of
programs used by the Makefile. For these, ${DJDIR} is The Right
Thing (tm), since it *is* dynamically resolved when the package is
rebuilt.
For the small number of packages I saw that use --prefix to hard-code
path names into the binaries, I also make a point to use
--prefix=c:/djgpp, or change the program to resolve ${DJDIR} at run
time.
- Raw text -