11.07.2015 Views

PicC 9.50 dsPIC Manual.pdf

PicC 9.50 dsPIC Manual.pdf

PicC 9.50 dsPIC Manual.pdf

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

LibrarianLinker and UtilitiesTable 5.2: Librarian command-line optionsOptionEffect-Pwidth specify page width-W Suppress non-fatal errorsTable 5.3: Librarian key letter commandsKeyrdxmsMeaningReplace modulesDelete modulesExtract modulesList modulesListmodiules with symbolsIt should be noted that the library format is geared exclusively toward object modules, and is nota general purpose archiving mechanism as is used by some other compiler systems. This has theadvantage that the format may be optimized toward speeding up the linkage process.5.10.2 Using the LibrarianThe librarian program is called LIBR, and the format of commands to it is as follows:LIBR options k file.lib file.obj ...Interpreting this, LIBR is the name of the program, options is zero or more librarian options whichaffect the output of the program. k is a key letter denoting the function requested of the librarian(replacing, extracting or deleting modules, listing modules or symbols), file.lib is the name ofthe library file to be operated on, and file.obj is zero or more object file names.The librarian options are listed in Table 5.2.The key letters are listed in Table 5.3.When replacing or extracting modules, the file.obj arguments are the names of the modulesto be replaced or extracted. If no such arguments are supplied, all the modules in the library will bereplaced or extracted respectively. Adding a file to a library is performed by requesting the librarianto replace it in the library. Since it is not present, the module will be appended to the library. If ther key is used and the library does not exist, it will be created.104

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!