Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Warplink version 2.6 - <b>lib environment variable</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
LIB Environment Variable
----------------------------------------------------------------------------------------

 The LIB environment variable contains the name of one or more directories
 that are used if WarpLink does not find a .LIB file in the current
 directory.  The LIB environment variable is identical to the OBJ environment
 variable except WarpLink searches for library files with the LIB environment
 variable.

 For example, assume your current directory is C:\DEVEL. 
 The following command links MYPROG.OBJ with the runtime library LIBFILE.LIB:

 WARPLINK  MYPROG,,,LIBFILE

 Without setting a LIB environment variable, if LIBFILE.LIB is not in the
 C:\DEVEL directory, WarpLink issues a file not found error.  To specify the
 location of your library files as either the C:\LIB directory or in the 
 D:\DEVEL directory, set the LIB variable as follows:

 SET LIB=C:\LIB;D:\DEVEL

 When LIBFILE.LIB is not found in the current directory (C:\DEVEL), WarpLink
 searches the C:\LIB and D:\DEVEL directories for the library as well.

 Some languages, such as recent versions if Microsoft C, Clipper, and Force,
 embed the name of a default library in the .OBJ file while it is being 
 created.  WarpLink will use that default library name when linking.  
 The /nd option of WarpLink disables the automatic use of a default library
 name that is embedded in the .OBJ and .LIB files.

See Also: OBJ TMP WARPLINK DDLPATH OVL_SWAP

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson