23 stable releases
new 1.4.1 | Jul 1, 2022 |
---|---|
1.3.7 | Mar 30, 2022 |
1.3.2 | Nov 18, 2021 |
1.3.1 | Jun 28, 2021 |
1.1.8 | Sep 22, 2020 |
#35 in Build Utils
189 downloads per month
29KB
758 lines
armerge
You can use armerge to combine multiple static libraries into a single merged ar
archive.
Optionally, it is possible to generate a static archive containing a single merged object file, where all non-public symbols are localized (hidden).
This tool requires ranlib
, ld
, and llvm-objcopy
installed on your host system.
On macOS, just libtool
and ld
are used instead.
You may specify a different linker using the LD
environment variable, and a different objcopy implementation with OBJCOPY
.
USAGE:
armerge [FLAGS] [OPTIONS] --output <output> [--] [INPUTS]...
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
-v, --verbose Print verbose information
OPTIONS:
-k, --keep-symbols <keep-symbols>... Accepts regexes of the symbol names to keep global, and localizes the rest
-o, --output <output> Output static library
ARGS:
<INPUTS>... Static libraries to merge
Dependencies
~10MB
~208K SLoC