7.1.1.1 Examples

Here are some examples of usage of the librarian. The following command:

xc8-ar -r myLib.a ctime.o init.o

creates a library called myLib.a that contains the modules ctime.o and init.o

The following command deletes the object module a.o from the library lcd.a:

xc8-ar -d lcd.a a.o