UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 16914

3.1 EDK - How do I determine which objects are archived into *.a (libc.a, libm.a, libxil.a) by LibGen?

Description

General Description: 

How do I determine which objects are archived into libc.a, libm.a, or libxil.a by LibGen?

Solution

You can run mb-ar or powerpc-eabi-ar to extract the object files from libc.a, libm.a, or libxil.a. 

 

For example: 

 

% mb-ar x libc.a 

 

The object files are extracted from libc.a. 

 

For more information on the GNU -ar utility, use the following: 

mb-ar --help 

or 

powerpc-eabi-ar --help

AR# 16914
Date Created 09/03/2007
Last Updated 05/15/2014
Status Archive
Type General Article