Keil™, An ARM® Company

LIBA User's Guide

Discontinued

Command Summary

The following commands are available for the LIBA Library Manager.

CommandDescription
ADD

Adds an object module to the library file. For example:

LIBA ADD GOODCODE.OBJ TO MYLIB.LIB

adds the GOODCODE.OBJ object module to MYLIB.LIB.

CREATE

Creates a new library file. For example:

LIBA CREATE MYLIB.LIB

creates a new library file named MYLIB.LIB.

DELETE

Removes an object module from the library file. For example:

LIBA DELETE MYLIB.LIB (GOODCODE)

removes the GOODCODE module from MYLIB.LIB.

EXITExits the library manager interactive mode.
EXTRACT

Extracts an object module from the library file. For example:

LIBA EXTRACT MYLIB.LIB (GOODCODE) TO GOOD.OBJ

copies the GOODCODE module to the object file GOOD.OBJ.

HELPDisplays help information for the library manager.
LIST

Lists the module and public symbol information stored in the library file. For example:

LIBA LIST MYLIB.LIB TO MYLIB.LST PUBLICS

generates a listing file (named MYLIB.LST) that contains the names of the modules stored in MYLIB.LIB. The PUBLICS directive specifies that public symbols are included in the listing.

REPLACE

Replaces an existing object module in the library file. For example:

LIBA REPLACE GOODCODE.OBJ IN MYLIB.LIB

replaces the GOODCODE.OBJ object module in MYLIB.LIB. This command adds GOODCODE.OBJ to the library if it is not already there.

TRANSFER

Generates a new library and adds object modules to it. For example:

LIBA TRANSFER FILE1.OBJ, FILE2.OBJ TO MYLIB.LIB

deletes MYLIB.LIB, creates an empty copy of it, and adds the object modules FILE1.OBJ and FILE2.OBJ to it.

Note

  • Underlined characters denote the command abbreviation.