Keil Logo

Command Summary

The following commands are available for the LIBX51 Library Manager.

Command Description
ADD

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

LIBX51 ADD GOODCODE.OBJ TO MYLIB.LIB

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

CREATE

Creates a new library file. For example:

LIBX51 CREATE MYLIB.LIB

creates a new library file named MYLIB.LIB.

DELETE

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

LIBX51 DELETE MYLIB.LIB (GOODCODE)

removes the GOODCODE module from MYLIB.LIB.

EXIT Exits the library manager interactive mode.
EXTRACT

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

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

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

HELP Displays help information for the library manager.
LIST

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

LIBX51 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:

LIBX51 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:

LIBX51 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.
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.