www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/04/23/03:52:07

Date: Sun, 23 Apr 1995 08:30:31 +0300
From: eliz AT is DOT elta DOT co DOT il. (Eli Zaretskii)
To: berend AT beard DOT nest DOT nl
Subject: Re: How to change ld's search path?
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu

>> 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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019