Creating a Library from IPO Objects
Libraries are often created using a library manager such as
xilibfor Windows. Given a list of objects, the library manager will insert the objects into a named library to be used in subsequent link steps.
The above command creates a library named
If the objects have been created using
[Q]ipo -cthen the archive will not only contain a valid object, but the archive will also contain intermediate representation (IR) for that object file. For example, the following example will produce
b.othat may be archived to produce a library containing both object code and IR for each source file.
The commands generate mock object files, which when placed in archive will also be accompanied by a true object file.
xiaris the same as specifying
-staticto generate static libraries, or specify
dynamicto create dynamic libraries. For example, the following command will create a static library named
mylib.athat includes the