Mail Archives: djgpp-workers/1999/04/22/05:32:21
On 22 Apr 99, at 11:23, Eli Zaretskii wrote:
>
> 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.
>
One of such bad examples is egcs. With egcs-1.1.X I found some workaround
(by splitting packages into 2 parts). For upcoming egcs-1.2 seems we'll have
to find another way. I'm able to build snapshots also without that but such
hacking is not for distribution.
Perhaps also binutils will have the same problem if we'll try to enable
NLS support.
Andris
- Raw text -