Date: 19 Apr 95 19:37:25 +0100 From: berend AT beard DOT nest DOT nl (Berend de Boer) To: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: How to change ld's search path? Eli Zaretskii wrote in a message to Berend de Boer: > How can I change the path ld uses to search it files? EZ> Gcc looks at the environment variable LIBRARY_PATH and EZ> instructs ld to search the directories mentioned there EZ> file DJGPP.ENV (which should be in your main DJGPP EZ> directory) includes a section named [gcc] which sets this EZ> variable to point to the lib/ subdirectory. 1. setting the library_path environment variable myself works. 2. I have a library_path in my djgpp.env (pointed to by DJGPP=c:/djgpp/djgpp.env), but this does not work (even by putting the directory there hardcoded). It seems my djgpp.env is not parsed, not recognized, whatever. What could this problem be? Could it still be due to not enough environment space? Anyway, thanks for the library_path env var, that does work. Groetjes, Berend (-: CIS: 100120,3121 email: berend AT beard DOT nest DOT nl