Extracting files from a library

Use the -x option to extract the files in the file_list parameter from the library. The contents of the library are not changed. If no file operands are given, all files in the library are extracted. If the filename of a file extracted from the library is longer than that supported in the destination directory, the results are undefined.

The files are extracted to the current location.

You can use this option in conjunction with other compatible command-line options.

Show/hideExample

To extract the files file1.o and file2.o from the mylib.a library in the directory C:\temp to the C:\temp\obj, enter:

cd C:\temp\obj
armar -x ..\mylib.a file1.o,file2.o

Show/hideSee also

Copyright © 2010-2011 ARM. All rights reserved.ARM DUI 0476E
Non-ConfidentialID071611