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 immediately after obj2.o in mylib.a, enter:

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

Show/hideSee also

Copyright © 2010-2011 ARM. All rights reserved.ARM DUI 0476C
Non-ConfidentialID080411