OS Manuals

/usr/arm-none-eabi/bin/ar

GNU Binutils built as a cross toolchain for the bare-metal ARM EABI target (arm-none-eabi). It provides target-prefixed tools: arm-none-eabi-as, -ld, -ld.bfd, -objcopy, -objdump, -nm, -ar, -ranlib, -strip, -readelf, -size, -strings, -addr2line, -c++filt, -elfedit and -gprof. They assemble, link, inspect and convert ARM/Thumb object files for Cortex-M/R/A embedded firmware development. The package is built from the same binutils-gdb source as Wolfi's native binutils, configured with --target=arm-none-eabi.

From binutils-arm-none-eabi 2.47-r2 (enterprise-packages), captured 2026-11-08 by running ar --help (exit 0). permalink

Usage: /usr/arm-none-eabi/bin/ar [emulation options] [-]{dmpqrstx}[abcDfilMNoOPsSTuvV] [--plugin <name>] [member-name] [count] archive-file file...
       /usr/arm-none-eabi/bin/ar -M [<mri-script]
 commands:
  d            - delete file(s) from the archive
  m[ab]        - move file(s) in the archive
  p            - print file(s) found in the archive
  q[f]         - quick append file(s) to the archive
  r[ab][f][u]  - replace existing or insert new file(s) into the archive
  s            - act as ranlib
  t[O][v]      - display contents of the archive
  x[o]         - extract file(s) from the archive
 command specific modifiers:
  [a]          - put file(s) after [member-name]
  [b]          - put file(s) before [member-name] (same as [i])
  [D]          - use zero for timestamps and uids/gids (default)
  [U]          - use actual timestamps and uids/gids
  [N]          - use instance [count] of name
  [f]          - truncate inserted file names
  [P]          - use full path names when matching
  [o]          - preserve original dates
  [O]          - display offsets of files in the archive
  [u]          - only replace files that are newer than current archive contents
 generic modifiers:
  [c]          - do not warn if the library had to be created
  [s]          - create an archive index (cf. ranlib)
  [l <text> ]  - specify the dependencies of this library
  [S]          - do not build a symbol table
  [T]          - deprecated, use --thin instead
  [v]          - be verbose
  [V]          - display the version number
  @<file>      - read options from <file>
  --target=BFDNAME - specify the target object format as BFDNAME
  --output=DIRNAME - specify the output directory for extraction operations
  --record-libdeps=<text> - specify the dependencies of this library
  --thin       - make a thin archive
 optional:
  --plugin <p> - load the specified plugin
 emulation options:
  No emulation specific options
/usr/arm-none-eabi/bin/ar: supported targets: elf32-littlearm elf32-littlearm-fdpic elf32-bigarm elf32-bigarm-fdpic elf32-little elf32-big srec symbolsrec verilog tekhex binary ihex plugin
Report bugs to <https://sourceware.org/bugzilla/>
Options (1)
OptionDescriptionSource
--thin- make a thin archivehelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.