Using the Library Optimizer Tool

Invoking the Library Optimizer

The Library Optimizer is invoked as follows:

libopt [-s] [ -d <destroot> ] <targetroot>

<targetroot> should be the base directory of the full target filesystem tree. It must include all the executable programs and shared libraries that will be present on the target.

The optional <destroot> specifies an alternate directory where the optimized libraries will be placed. If <destroot> is not specified, <targetroot> will be used as the destination, overwriting the original target libraries.

The optional argument "-s" should be specified if the optimized libraries should be stripped. This can greatly reduce the size of the optimized libraries, but reduces the amount of debugging information available.