www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/04/20/02:27:58

Date: Thu, 20 Apr 1995 08:18:48 +0300
From: eliz AT is DOT elta DOT co DOT il. (Eli Zaretskii)
To: berend AT beard DOT nest DOT nl, dj
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.

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 -


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