www.digitalmars.com         C & C++   DMDScript  

D - Adding lib search paths without setting an environment variable.

reply Andy Friesen <andy ikagames.com> writes:
I have been fishing around the documentation, and I don't see any way to 
get the linker to search extra paths for library files, short of 
appending to the LIB environment variable.

Am I missing something, or is link? :)

  -- andy
Nov 16 2003
parent J C Calvarese <jcc7 cox.net> writes:
Andy Friesen wrote:
 I have been fishing around the documentation, and I don't see any way to 
 get the linker to search extra paths for library files, short of 
 appending to the LIB environment variable.
 
 Am I missing something, or is link? :)
 
  -- andy 
I don't know if extra paths can be added (I lot of options appear when I type "LINK /?"), but it looks like you can specify a path: dmd gui.d d:\dmd\lib\user32.lib Justin
Nov 16 2003