Mail Archives: djgpp-workers/1998/07/08/12:23:27
According to Eli Zaretskii:
> > Well I disagree; there's no standard DJGPP directory, hardcoding them
> > to c:/djgpp is BAD.
>
> There's no other way to do it, given that DOS/Windows lack
> standardized directory trees. Almost all DJGPP port of GNU packages
> have been doing this for years, albeit without paths.h: they all have
> some path like c:/djgpp/something hard-wired into them, and then rely
> on environment variables set from DJGPP.ENV to take care of the actual
> place where to look for files.
>
> > Consider that when there are there people will use
> > them and then when this program is moved to another machine, it wont
> > work because the path which is compiled into the program doesn't
> > exist!
>
> We do it already, as I said above.
Ok. If there's already an incorrect hardcoded path used in the
programs then it doesn't matter.
> And if a program is compiled on Linux, then moved to another Linux
> machine, it runs the risk of not working as well.
No, wrong. If you use a descent distribution, there are no
problems. Otherwise you are used to compile the programs yourself and
then your path.h is presumably correct.
> Please keep in mind that paths.h is a last fallback in case no
> environment variable overrides it.
Ok. Then I have no objections.
Gorecki, Symphony No. 3,
MartinS
- Raw text -