www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/04/19/02:19:37

Date: 18 Apr 95 21:23:42 +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?

Hello All,

How can I change the path ld uses to search it files?

Here a screen dump of where it searches now (nothing changed to djgpp
standard installation process (unzipping), no change to djgpp.env, using
djgpp1.12m4).


  C:\GPC\2_6.3>ld --verbose -o hello.tmp hello -lgpc
  ld version 2.5.2 (with BFD 2.5)
    Supported emulations:
     go32
     i386aout
  attempt to open hello succeeded
  hello
  attempt to open /lib/libgpc.a failed
  attempt to open /usr/lib/libgpc.a failed
  attempt to open /usr/local/lib/libgpc.a failed
  attempt to open /usr/local/go32/lib/libgpc.a failed
  c:/djgpp/bin/ld.exe: cannot open -lgpc: file not found

I could not find it in the docs, any pointer or solution is welcome.


Groetjes,

Berend (-:
CIS: 100120,3121
email: berend AT beard DOT nest DOT nl

- Raw text -


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