Clone wiki

arld / Home


arld creates static libraries from object files and existing static libraries. Object files are specified on thier own, and libraries are specified with the -l switch just like when invoking the linker. The upshot is that you can create a new static library containing the contents of existing libraries plus your own object files by calling it in the same manner as if you were linking a shared-library:

arld -o libfoo.a foo.o -L/lib/search/path -lbar


arld -o <output> [<object> | -l<library> | -L<path>]

-ospecify the output file (required)
-Ladd a path to search for libraries
-ladd a library