Controlling the placement of files when adding to a library

These options enable you to specify the location of files that are added to the library:

-a pos_name

Place new files in the library after the file pos_name.

-b pos_name

Place new files in the library before the file pos_name.

-i pos_name

Place new files in the library before the file pos_name.

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

Show/hideExample

To add files obj3.o and obj4.o immediately after obj2.o in mylib.a, enter:

armar -a obj2.o mylib.a obj3.o obj4.o	

Show/hideSee also

Copyright © 2010-2012 ARM. All rights reserved.ARM DUI 0476H
Non-ConfidentialID070912