LINK Help (linkx.hlp) (Table of Contents; Topic list)
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.
                                    -♦-