Replacing all files in a library with specific files

Use the -r option to replace all files in a library with the files specified in the file_list parameter. You can use this option in conjunction with other compatible command-line options.


If the library specified on the command line does not exist, then a new library will be created.


To replace all files in the mylib.a library by all object files in the current directory, enter:

armar -r mylib.a *.o

Show/hideSee also

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