sdar(1)

create, modify, and extract from archives. A part of SDCC

Section 1 sdcc bookworm source

Description

AR

NAME

sdar - create, modify, and extract from archives. A part of SDCC

SYNOPSIS

sdar [emulation options] [-]{dmpqrstx}[abcDfilMNoPsSTuvV] [member-name] [count] archive-file file...

DESCRIPTION

/usr/bin/sdar -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

- display contents of 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

[U]

- use actual timestamps and uids/gids (default)

[N]

- use instance [count] of name

[f]

- truncate inserted file names

[P]

- use full path names when matching

[o]

- preserve original dates

[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)

[S]

- do not build a symbol table

[T]

- make a thin archive

[v]

- be verbose

[V]

- display the version number

@<file>

- read options from <file>

--target=BFDNAME - specify the target object format as BFDNAME

emulation options:

No emulation specific options

/usr/bin/sdar: supported targets: asxxxx srec symbolsrec binary ihex

REPORTING BUGS

Report bugs to <http://sourceforge.net/tracker/?group_id=599@report_bugs_to@atid=100599>

COPYRIGHT

Copyright 2012 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or (at your option) any later version. This program has absolutely no warranty.

SEE ALSO

The full documentation for ar is maintained as a Texinfo manual. If the info and ar programs are properly installed at your site, the command

info ar

should give you access to the complete manual.