Programmering - Assembler
- MASM - LIB
Object-files (.obj) created with MASM or with high-level compilers can be
combined i Library-files (.lib) with LIB.
Command line:
| LIB oldlibrary [/PAGESIZE:number][commands][,[listfile][,[newlibrary]]][;] |
| oldlibrary |
|
(.LIB is assumed) |
| /PAGESIZE |
|
|
| commands |
|
+objectfile (.OBJ is assumed) : Add to oldlibrary |
| listfile |
|
output: a listing of the procedures in the library |
| newlibrary |
|
|
| ; |
|
|
|
Examples:
- LIB graphics +dots +lines;
- put dots.obj and lines.obj into graphics.lib
-
- LIB graphics +circles,graphics.lst
- add circles.obj to graphics.lib
and output a listing of the procedures in the library