| |||
| Home > Creating Libraries > Creating a new object library | |||
Use the --create option to create a new
object library, and either specify the list of object files:
directly on the command-line
in a via file.
If the library already exists, the previous contents are deleted.
To create a new library containing only the files listed on the command-line, enter:
armar --create mylib.a *.o
To create a new library containing the files listed in a via file, enter:
armar --create mylib.a --via myobject.via
You can use this option in conjunction with the following compatible command-line options:
-c
--diag_style
-n
-v
--via.
Other options can also create a new library in some circumstances.
For example, using the -r option with a library
that does not exist.