Mail Archives: djgpp/1995/04/23/03:52:07
>> 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.
>
> And that did work.
>
> Maybe I encountered this because I use gpc = GNU Pascal compiled for
> djgpp which did not give its environment to ld??
DJ explained that gcc passes LIBRARY_PATH to ld through -L switch, not
through the environment. If you call ld through gpc, then it won't
happen, since there is no [gpc] section in DJGPP.ENV.
- Raw text -