5.1.1.1 Archiver Examples

Here are some examples using the archiver. The following command:

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

creates a library archive called myAvrLib.a that contains the modules ctime.o and init.o. The following command deletes the object module a.o from the library archive lcd.a:

xc8-ar -d lcd.a a.o