How to create ,replace ,delete and list the archive files in R12
Windows
|
To list the archive files |
e.g. lib /list adst.lib |
|
To include the single object into archive file |
e.g. lib adst.lib aimain.obj |
|
To list the particular object |
e.g. lib /list adst.lib |grep aimain.obj o/p – aimain.obj |
|
To find the header of particular object |
adident Header adst.lib | grep aimain.oc o/p – $Header aimain.oc 120.10 2006/11/28 20:32:39 vlim ship $ |
Unix
|
To list the archive files |
|
|
To take out all the files from archive |
e.g. ar -xv libad.a |
|
To take out individual file from the archive |
e.g. ar -xv libad.a aiures.o |
|
To delete the particular object file from archive |
e.g. ar d libad.a aiures.o |
|
To replace or create the particular object file from archive |
e.g. ar r libad.a aiures.o |
