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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Linker and UtilitiesLibrarianUnder the d key letter, the named object files will be deleted from the library. In this instance, itis an error not to give any object file names.The m and s key letters will list the named modules and, in the case of the s keyletter, the symbolsdefined or referenced within (global symbols only are handled by the librarian). As with the r and xkey letters, an empty list of modules means all the modules in the library.5.10.3 ExamplesHere are some examples of usage of the librarian. The following lists the global symbols in themodules a.obj, b.obj and c.obj:LIBR s file.lib a.obj b.obj c.objThis command deletes the object modules a.obj, b.obj and c.obj from the library file.lib:LIBR d file.lib a.obj b.obj c.obj5.10.4 Supplying ArgumentsSince it is often necessary to supply many object file arguments to LIBR, and command lines arerestricted to 127 characters by CP/M and MS-DOS, LIBR will accept commands from standard inputif no command line arguments are given. If the standard input is attached to the console, LIBR willprompt for input. Multiple line input may be given by using a backslash as a continuation characteron the end of a line. If standard input is redirected from a file, LIBR will take input from the file,without prompting. For example:librlibr> r file.lib 1.obj 2.obj 3.obj \libr> 4.obj 5.obj 6.objwill perform much the same as if the object files had been typed on the command line. The libr>prompts were printed by LIBR itself, the remainder of the text was typed as input.libr

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

Saved successfully!

Ooh no, something went wrong!