Mail Archives: djgpp/1995/04/20/02:27:58
> Note that the djgpp.env has *sections*, and only variables in the
> section for that program are added. Thus, you have to create an [ld]
> section, and put LIBRARY_PATH in that section.
Isn't putting it into [gcc] section, like the supplied DJGPP.ENV does,
enough? For one, it works for me (and just about everybody else).
Second, is it ld.exe that needs to know about LIBRARY_PATH or gcc?
Third, ld is usually a son of gcc, so gcc should pass its environment
to ld, right?
Btw, Berend: do you invoke ld from the command line, or do you call gcc
to do this? If you invoke ld directly, then what DJ said might just be
your answer: without [ld] section it won't get LIBRARY_PATH.
- Raw text -