| |||||||||||||
Technical Support On-Line Manuals L166 User's Guide | Command PromptTo invoke the L166 Linker/Locator, enter L166 at the command prompt. You must include object modules and directives on the command line or specify a command-response file. The format for the L166 Linker command line is: L166 « inputlist » « TO outputfile » « directives » L166 @commandfile Where
The following command line example invokes L166, specifies the object file C:\MYDIR\PROG.OBJ, and specifies the absolute object file C:\MYDIR\PROG.ABS which the linker creates. L166 C:\MYDIR\PROG.OBJ TO C:\MYDIR\PROG.ABS The following example specifies three input files (SAMPLE1.OBJ, SAMPLE2.OBJ, and SAMPLE3.OBJ) which are linked. The specified absolute object module (SAMPLE.ABS) is created. L166 SAMPLE1.OBJ, SAMPLE2.OBJ, SAMPLE3.OBJ TO SAMPLE.ABS The following example specifies two object files (PROG1.OBJ, PROG2.OBJ) and a library file (UTILITY.LIB). The absolute object module (PROG1) is created. Externals that are not resolved from the specified object files are resolved with the public symbols of the library file. The required modules from the library are linked automatically. L166 PROG1.OBJ, PROG2.OBJ, UTILITY.LIB The following example shows how to force inclusion of the IN and OUT modules from the UTILITY.LIB library. L166 PROG1.OBJ, PROG2.OBJ, UTILITY.LIB (IN, OUT) Note
| ||||||||||||
| |||||||||||||