LINK Help (linkx.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Library Search Example
                                             Up Contents Index Back
─────Library Search Example─────────────────────────────────────────────────
 
     The following is a specification in the <libraries> field:
 
          C:\TESTLIB\ NEWLIBV3 C:\MYLIBS\SPECIAL
 
     LINK searches NEWLIBV3.LIB first for unresolved references. Since
     no directory is specified for NEWLIBV3.LIB, LINK searches the
     following locations in this order:
 
       1. The current directory
       2. The C:\TESTLIB\ directory
       3. The directories in the LIB environment variable
 
     If LINK still cannot find NEWLIBV3.LIB, it prompts you with the
     message "Enter new file spec:". You can then enter either a path
     to the library or a full pathname for another library.
 
     If unresolved references remain after searching NEWLIBV3.LIB, LINK
     then searches the library C:\MYLIBS\SPECIAL.LIB. If LINK cannot
     find C:\MYLIBS\SPECIAL.LIB, it prompts you as described above for
     NEWLIBV3.LIB. If there are still unresolved references, LINK
     searches the default libraries.
                                    -♦-