Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

524 linhas
21KB

  1. .\" Automatically generated by Pod::Man 2.27 (Pod::Simple 3.28)
  2. .\"
  3. .\" Standard preamble:
  4. .\" ========================================================================
  5. .de Sp \" Vertical space (when we can't use .PP)
  6. .if t .sp .5v
  7. .if n .sp
  8. ..
  9. .de Vb \" Begin verbatim text
  10. .ft CW
  11. .nf
  12. .ne \\$1
  13. ..
  14. .de Ve \" End verbatim text
  15. .ft R
  16. .fi
  17. ..
  18. .\" Set up some character translations and predefined strings. \*(-- will
  19. .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
  20. .\" double quote, and \*(R" will give a right double quote. \*(C+ will
  21. .\" give a nicer C++. Capital omega is used to do unbreakable dashes and
  22. .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff,
  23. .\" nothing in troff, for use with C<>.
  24. .tr \(*W-
  25. .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
  26. .ie n \{\
  27. . ds -- \(*W-
  28. . ds PI pi
  29. . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
  30. . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch
  31. . ds L" ""
  32. . ds R" ""
  33. . ds C` ""
  34. . ds C' ""
  35. 'br\}
  36. .el\{\
  37. . ds -- \|\(em\|
  38. . ds PI \(*p
  39. . ds L" ``
  40. . ds R" ''
  41. . ds C`
  42. . ds C'
  43. 'br\}
  44. .\"
  45. .\" Escape single quotes in literal strings from groff's Unicode transform.
  46. .ie \n(.g .ds Aq \(aq
  47. .el .ds Aq '
  48. .\"
  49. .\" If the F register is turned on, we'll generate index entries on stderr for
  50. .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
  51. .\" entries marked with X<> in POD. Of course, you'll have to process the
  52. .\" output yourself in some meaningful fashion.
  53. .\"
  54. .\" Avoid warning from groff about undefined register 'F'.
  55. .de IX
  56. ..
  57. .nr rF 0
  58. .if \n(.g .if rF .nr rF 1
  59. .if (\n(rF:(\n(.g==0)) \{
  60. . if \nF \{
  61. . de IX
  62. . tm Index:\\$1\t\\n%\t"\\$2"
  63. ..
  64. . if !\nF==2 \{
  65. . nr % 0
  66. . nr F 2
  67. . \}
  68. . \}
  69. .\}
  70. .rr rF
  71. .\"
  72. .\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
  73. .\" Fear. Run. Save yourself. No user-serviceable parts.
  74. . \" fudge factors for nroff and troff
  75. .if n \{\
  76. . ds #H 0
  77. . ds #V .8m
  78. . ds #F .3m
  79. . ds #[ \f1
  80. . ds #] \fP
  81. .\}
  82. .if t \{\
  83. . ds #H ((1u-(\\\\n(.fu%2u))*.13m)
  84. . ds #V .6m
  85. . ds #F 0
  86. . ds #[ \&
  87. . ds #] \&
  88. .\}
  89. . \" simple accents for nroff and troff
  90. .if n \{\
  91. . ds ' \&
  92. . ds ` \&
  93. . ds ^ \&
  94. . ds , \&
  95. . ds ~ ~
  96. . ds /
  97. .\}
  98. .if t \{\
  99. . ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
  100. . ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'
  101. . ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'
  102. . ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'
  103. . ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'
  104. . ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'
  105. .\}
  106. . \" troff and (daisy-wheel) nroff accents
  107. .ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V'
  108. .ds 8 \h'\*(#H'\(*b\h'-\*(#H'
  109. .ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#]
  110. .ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H'
  111. .ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u'
  112. .ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#]
  113. .ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#]
  114. .ds ae a\h'-(\w'a'u*4/10)'e
  115. .ds Ae A\h'-(\w'A'u*4/10)'E
  116. . \" corrections for vroff
  117. .if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'
  118. .if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u'
  119. . \" for low resolution devices (crt and lpr)
  120. .if \n(.H>23 .if \n(.V>19 \
  121. \{\
  122. . ds : e
  123. . ds 8 ss
  124. . ds o a
  125. . ds d- d\h'-1'\(ga
  126. . ds D- D\h'-1'\(hy
  127. . ds th \o'bp'
  128. . ds Th \o'LP'
  129. . ds ae ae
  130. . ds Ae AE
  131. .\}
  132. .rm #[ #] #H #V #F C
  133. .\" ========================================================================
  134. .\"
  135. .IX Title "AR 1"
  136. .TH AR 1 "2020-11-24" "binutils-2.35.1" "GNU Development Tools"
  137. .\" For nroff, turn off justification. Always turn off hyphenation; it makes
  138. .\" way too many mistakes in technical documents.
  139. .if n .ad l
  140. .nh
  141. .SH "NAME"
  142. ar \- create, modify, and extract from archives
  143. .SH "SYNOPSIS"
  144. .IX Header "SYNOPSIS"
  145. ar [\fB\-X32_64\fR] [\fB\-\fR]\fIp\fR[\fImod\fR] [\fB\-\-plugin\fR \fIname\fR] [\fB\-\-target\fR \fIbfdname\fR] [\fB\-\-output\fR \fIdirname\fR] [\fIrelpos\fR] [\fIcount\fR] \fIarchive\fR [\fImember\fR...]
  146. .SH "DESCRIPTION"
  147. .IX Header "DESCRIPTION"
  148. The \s-1GNU \s0\fBar\fR program creates, modifies, and extracts from
  149. archives. An \fIarchive\fR is a single file holding a collection of
  150. other files in a structure that makes it possible to retrieve
  151. the original individual files (called \fImembers\fR of the archive).
  152. .PP
  153. The original files' contents, mode (permissions), timestamp, owner, and
  154. group are preserved in the archive, and can be restored on
  155. extraction.
  156. .PP
  157. \&\s-1GNU \s0\fBar\fR can maintain archives whose members have names of any
  158. length; however, depending on how \fBar\fR is configured on your
  159. system, a limit on member-name length may be imposed for compatibility
  160. with archive formats maintained with other tools. If it exists, the
  161. limit is often 15 characters (typical of formats related to a.out) or 16
  162. characters (typical of formats related to coff).
  163. .PP
  164. \&\fBar\fR is considered a binary utility because archives of this sort
  165. are most often used as \fIlibraries\fR holding commonly needed
  166. subroutines.
  167. .PP
  168. \&\fBar\fR creates an index to the symbols defined in relocatable
  169. object modules in the archive when you specify the modifier \fBs\fR.
  170. Once created, this index is updated in the archive whenever \fBar\fR
  171. makes a change to its contents (save for the \fBq\fR update operation).
  172. An archive with such an index speeds up linking to the library, and
  173. allows routines in the library to call each other without regard to
  174. their placement in the archive.
  175. .PP
  176. You may use \fBnm \-s\fR or \fBnm \-\-print\-armap\fR to list this index
  177. table. If an archive lacks the table, another form of \fBar\fR called
  178. \&\fBranlib\fR can be used to add just the table.
  179. .PP
  180. \&\s-1GNU \s0\fBar\fR can optionally create a \fIthin\fR archive,
  181. which contains a symbol index and references to the original copies
  182. of the member files of the archive. This is useful for building
  183. libraries for use within a local build tree, where the relocatable
  184. objects are expected to remain available, and copying the contents of
  185. each object would only waste time and space.
  186. .PP
  187. An archive can either be \fIthin\fR or it can be normal. It cannot
  188. be both at the same time. Once an archive is created its format
  189. cannot be changed without first deleting it and then creating a new
  190. archive in its place.
  191. .PP
  192. Thin archives are also \fIflattened\fR, so that adding one thin
  193. archive to another thin archive does not nest it, as would happen with
  194. a normal archive. Instead the elements of the first archive are added
  195. individually to the second archive.
  196. .PP
  197. The paths to the elements of the archive are stored relative to the
  198. archive itself.
  199. .PP
  200. \&\s-1GNU \s0\fBar\fR is designed to be compatible with two different
  201. facilities. You can control its activity using command-line options,
  202. like the different varieties of \fBar\fR on Unix systems; or, if you
  203. specify the single command-line option \fB\-M\fR, you can control it
  204. with a script supplied via standard input, like the \s-1MRI \s0\*(L"librarian\*(R"
  205. program.
  206. .SH "OPTIONS"
  207. .IX Header "OPTIONS"
  208. \&\s-1GNU \s0\fBar\fR allows you to mix the operation code \fIp\fR and modifier
  209. flags \fImod\fR in any order, within the first command-line argument.
  210. .PP
  211. If you wish, you may begin the first command-line argument with a
  212. dash.
  213. .PP
  214. The \fIp\fR keyletter specifies what operation to execute; it may be
  215. any of the following, but you must specify only one of them:
  216. .IP "\fBd\fR" 4
  217. .IX Item "d"
  218. \&\fIDelete\fR modules from the archive. Specify the names of modules to
  219. be deleted as \fImember\fR...; the archive is untouched if you
  220. specify no files to delete.
  221. .Sp
  222. If you specify the \fBv\fR modifier, \fBar\fR lists each module
  223. as it is deleted.
  224. .IP "\fBm\fR" 4
  225. .IX Item "m"
  226. Use this operation to \fImove\fR members in an archive.
  227. .Sp
  228. The ordering of members in an archive can make a difference in how
  229. programs are linked using the library, if a symbol is defined in more
  230. than one member.
  231. .Sp
  232. If no modifiers are used with \f(CW\*(C`m\*(C'\fR, any members you name in the
  233. \&\fImember\fR arguments are moved to the \fIend\fR of the archive;
  234. you can use the \fBa\fR, \fBb\fR, or \fBi\fR modifiers to move them to a
  235. specified place instead.
  236. .IP "\fBp\fR" 4
  237. .IX Item "p"
  238. \&\fIPrint\fR the specified members of the archive, to the standard
  239. output file. If the \fBv\fR modifier is specified, show the member
  240. name before copying its contents to standard output.
  241. .Sp
  242. If you specify no \fImember\fR arguments, all the files in the archive are
  243. printed.
  244. .IP "\fBq\fR" 4
  245. .IX Item "q"
  246. \&\fIQuick append\fR; Historically, add the files \fImember\fR... to the end of
  247. \&\fIarchive\fR, without checking for replacement.
  248. .Sp
  249. The modifiers \fBa\fR, \fBb\fR, and \fBi\fR do \fInot\fR affect this
  250. operation; new members are always placed at the end of the archive.
  251. .Sp
  252. The modifier \fBv\fR makes \fBar\fR list each file as it is appended.
  253. .Sp
  254. Since the point of this operation is speed, implementations of
  255. \&\fBar\fR have the option of not updating the archive's symbol
  256. table if one exists. Too many different systems however assume that
  257. symbol tables are always up-to-date, so \s-1GNU \s0\fBar\fR will
  258. rebuild the table even with a quick append.
  259. .Sp
  260. Note \- \s-1GNU \s0\fBar\fR treats the command \fBqs\fR as a
  261. synonym for \fBr\fR \- replacing already existing files in the
  262. archive and appending new ones at the end.
  263. .IP "\fBr\fR" 4
  264. .IX Item "r"
  265. Insert the files \fImember\fR... into \fIarchive\fR (with
  266. \&\fIreplacement\fR). This operation differs from \fBq\fR in that any
  267. previously existing members are deleted if their names match those being
  268. added.
  269. .Sp
  270. If one of the files named in \fImember\fR... does not exist, \fBar\fR
  271. displays an error message, and leaves undisturbed any existing members
  272. of the archive matching that name.
  273. .Sp
  274. By default, new members are added at the end of the file; but you may
  275. use one of the modifiers \fBa\fR, \fBb\fR, or \fBi\fR to request
  276. placement relative to some existing member.
  277. .Sp
  278. The modifier \fBv\fR used with this operation elicits a line of
  279. output for each file inserted, along with one of the letters \fBa\fR or
  280. \&\fBr\fR to indicate whether the file was appended (no old member
  281. deleted) or replaced.
  282. .IP "\fBs\fR" 4
  283. .IX Item "s"
  284. Add an index to the archive, or update it if it already exists. Note
  285. this command is an exception to the rule that there can only be one
  286. command letter, as it is possible to use it as either a command or a
  287. modifier. In either case it does the same thing.
  288. .IP "\fBt\fR" 4
  289. .IX Item "t"
  290. Display a \fItable\fR listing the contents of \fIarchive\fR, or those
  291. of the files listed in \fImember\fR... that are present in the
  292. archive. Normally only the member name is shown, but if the modifier
  293. \&\fBO\fR is specified, then the corresponding offset of the member is also
  294. displayed. Finally, in order to see the modes (permissions), timestamp,
  295. owner, group, and size the \fBv\fR modifier should be included.
  296. .Sp
  297. If you do not specify a \fImember\fR, all files in the archive
  298. are listed.
  299. .Sp
  300. If there is more than one file with the same name (say, \fBfie\fR) in
  301. an archive (say \fBb.a\fR), \fBar t b.a fie\fR lists only the
  302. first instance; to see them all, you must ask for a complete
  303. listing\-\-\-in our example, \fBar t b.a\fR.
  304. .IP "\fBx\fR" 4
  305. .IX Item "x"
  306. \&\fIExtract\fR members (named \fImember\fR) from the archive. You can
  307. use the \fBv\fR modifier with this operation, to request that
  308. \&\fBar\fR list each name as it extracts it.
  309. .Sp
  310. If you do not specify a \fImember\fR, all files in the archive
  311. are extracted.
  312. .Sp
  313. Files cannot be extracted from a thin archive, and there are
  314. restrictions on extracting from archives created with \fBP\fR: The
  315. paths must not be absolute, may not contain \f(CW\*(C`..\*(C'\fR, and any
  316. subdirectories in the paths must exist. If it is desired to avoid
  317. these restrictions then used the \fB\-\-output\fR option to specify
  318. an output directory.
  319. .PP
  320. A number of modifiers (\fImod\fR) may immediately follow the \fIp\fR
  321. keyletter, to specify variations on an operation's behavior:
  322. .IP "\fBa\fR" 4
  323. .IX Item "a"
  324. Add new files \fIafter\fR an existing member of the
  325. archive. If you use the modifier \fBa\fR, the name of an existing archive
  326. member must be present as the \fIrelpos\fR argument, before the
  327. \&\fIarchive\fR specification.
  328. .IP "\fBb\fR" 4
  329. .IX Item "b"
  330. Add new files \fIbefore\fR an existing member of the
  331. archive. If you use the modifier \fBb\fR, the name of an existing archive
  332. member must be present as the \fIrelpos\fR argument, before the
  333. \&\fIarchive\fR specification. (same as \fBi\fR).
  334. .IP "\fBc\fR" 4
  335. .IX Item "c"
  336. \&\fICreate\fR the archive. The specified \fIarchive\fR is always
  337. created if it did not exist, when you request an update. But a warning is
  338. issued unless you specify in advance that you expect to create it, by
  339. using this modifier.
  340. .IP "\fBD\fR" 4
  341. .IX Item "D"
  342. Operate in \fIdeterministic\fR mode. When adding files and the archive
  343. index use zero for UIDs, GIDs, timestamps, and use consistent file modes
  344. for all files. When this option is used, if \fBar\fR is used with
  345. identical options and identical input files, multiple runs will create
  346. identical output files regardless of the input files' owners, groups,
  347. file modes, or modification times.
  348. .Sp
  349. If \fIbinutils\fR was configured with
  350. \&\fB\-\-enable\-deterministic\-archives\fR, then this mode is on by default.
  351. It can be disabled with the \fBU\fR modifier, below.
  352. .IP "\fBf\fR" 4
  353. .IX Item "f"
  354. Truncate names in the archive. \s-1GNU \s0\fBar\fR will normally permit file
  355. names of any length. This will cause it to create archives which are
  356. not compatible with the native \fBar\fR program on some systems. If
  357. this is a concern, the \fBf\fR modifier may be used to truncate file
  358. names when putting them in the archive.
  359. .IP "\fBi\fR" 4
  360. .IX Item "i"
  361. Insert new files \fIbefore\fR an existing member of the
  362. archive. If you use the modifier \fBi\fR, the name of an existing archive
  363. member must be present as the \fIrelpos\fR argument, before the
  364. \&\fIarchive\fR specification. (same as \fBb\fR).
  365. .IP "\fBl\fR" 4
  366. .IX Item "l"
  367. This modifier is accepted but not used.
  368. .IP "\fBN\fR" 4
  369. .IX Item "N"
  370. Uses the \fIcount\fR parameter. This is used if there are multiple
  371. entries in the archive with the same name. Extract or delete instance
  372. \&\fIcount\fR of the given name from the archive.
  373. .IP "\fBo\fR" 4
  374. .IX Item "o"
  375. Preserve the \fIoriginal\fR dates of members when extracting them. If
  376. you do not specify this modifier, files extracted from the archive
  377. are stamped with the time of extraction.
  378. .IP "\fBO\fR" 4
  379. .IX Item "O"
  380. Display member offsets inside the archive. Use together with the \fBt\fR
  381. option.
  382. .IP "\fBP\fR" 4
  383. .IX Item "P"
  384. Use the full path name when matching or storing names in the archive.
  385. Archives created with full path names are not \s-1POSIX\s0 compliant, and
  386. thus may not work with tools other than up to date \s-1GNU\s0 tools.
  387. Modifying such archives with \s-1GNU \s0\fBar\fR without using
  388. \&\fBP\fR will remove the full path names unless the archive is a
  389. thin archive. Note that \fBP\fR may be useful when adding files to
  390. a thin archive since \fBr\fR without \fBP\fR ignores the path
  391. when choosing which element to replace. Thus
  392. .Sp
  393. .Vb 1
  394. \& ar rcST archive.a subdir/file1 subdir/file2 file1
  395. .Ve
  396. .Sp
  397. will result in the first \f(CW\*(C`subdir/file1\*(C'\fR being replaced with
  398. \&\f(CW\*(C`file1\*(C'\fR from the current directory. Adding \fBP\fR will
  399. prevent this replacement.
  400. .IP "\fBs\fR" 4
  401. .IX Item "s"
  402. Write an object-file index into the archive, or update an existing one,
  403. even if no other change is made to the archive. You may use this modifier
  404. flag either with any operation, or alone. Running \fBar s\fR on an
  405. archive is equivalent to running \fBranlib\fR on it.
  406. .IP "\fBS\fR" 4
  407. .IX Item "S"
  408. Do not generate an archive symbol table. This can speed up building a
  409. large library in several steps. The resulting archive can not be used
  410. with the linker. In order to build a symbol table, you must omit the
  411. \&\fBS\fR modifier on the last execution of \fBar\fR, or you must run
  412. \&\fBranlib\fR on the archive.
  413. .IP "\fBT\fR" 4
  414. .IX Item "T"
  415. Make the specified \fIarchive\fR a \fIthin\fR archive. If it already
  416. exists and is a regular archive, the existing members must be present
  417. in the same directory as \fIarchive\fR.
  418. .IP "\fBu\fR" 4
  419. .IX Item "u"
  420. Normally, \fBar r\fR... inserts all files
  421. listed into the archive. If you would like to insert \fIonly\fR those
  422. of the files you list that are newer than existing members of the same
  423. names, use this modifier. The \fBu\fR modifier is allowed only for the
  424. operation \fBr\fR (replace). In particular, the combination \fBqu\fR is
  425. not allowed, since checking the timestamps would lose any speed
  426. advantage from the operation \fBq\fR.
  427. .IP "\fBU\fR" 4
  428. .IX Item "U"
  429. Do \fInot\fR operate in \fIdeterministic\fR mode. This is the inverse
  430. of the \fBD\fR modifier, above: added files and the archive index will
  431. get their actual \s-1UID, GID,\s0 timestamp, and file mode values.
  432. .Sp
  433. This is the default unless \fIbinutils\fR was configured with
  434. \&\fB\-\-enable\-deterministic\-archives\fR.
  435. .IP "\fBv\fR" 4
  436. .IX Item "v"
  437. This modifier requests the \fIverbose\fR version of an operation. Many
  438. operations display additional information, such as filenames processed,
  439. when the modifier \fBv\fR is appended.
  440. .IP "\fBV\fR" 4
  441. .IX Item "V"
  442. This modifier shows the version number of \fBar\fR.
  443. .PP
  444. The \fBar\fR program also supports some command-line options which
  445. are neither modifiers nor actions, but which do change its behaviour
  446. in specific ways:
  447. .IP "\fB\-\-help\fR" 4
  448. .IX Item "--help"
  449. Displays the list of command-line options supported by \fBar\fR
  450. and then exits.
  451. .IP "\fB\-\-version\fR" 4
  452. .IX Item "--version"
  453. Displays the version information of \fBar\fR and then exits.
  454. .IP "\fB\-X32_64\fR" 4
  455. .IX Item "-X32_64"
  456. \&\fBar\fR ignores an initial option spelled \fB\-X32_64\fR, for
  457. compatibility with \s-1AIX. \s0 The behaviour produced by this option is the
  458. default for \s-1GNU \s0\fBar\fR. \fBar\fR does not support any
  459. of the other \fB\-X\fR options; in particular, it does not support
  460. \&\fB\-X32\fR which is the default for \s-1AIX \s0\fBar\fR.
  461. .IP "\fB\-\-plugin\fR \fIname\fR" 4
  462. .IX Item "--plugin name"
  463. The optional command-line switch \fB\-\-plugin\fR \fIname\fR causes
  464. \&\fBar\fR to load the plugin called \fIname\fR which adds support
  465. for more file formats, including object files with link-time
  466. optimization information.
  467. .Sp
  468. This option is only available if the toolchain has been built with
  469. plugin support enabled.
  470. .Sp
  471. If \fB\-\-plugin\fR is not provided, but plugin support has been
  472. enabled then \fBar\fR iterates over the files in
  473. \&\fI${libdir}/bfd\-plugins\fR in alphabetic order and the first
  474. plugin that claims the object in question is used.
  475. .Sp
  476. Please note that this plugin search directory is \fInot\fR the one
  477. used by \fBld\fR's \fB\-plugin\fR option. In order to make
  478. \&\fBar\fR use the linker plugin it must be copied into the
  479. \&\fI${libdir}/bfd\-plugins\fR directory. For \s-1GCC\s0 based compilations
  480. the linker plugin is called \fIliblto_plugin.so.0.0.0\fR. For Clang
  481. based compilations it is called \fILLVMgold.so\fR. The \s-1GCC\s0 plugin
  482. is always backwards compatible with earlier versions, so it is
  483. sufficient to just copy the newest one.
  484. .IP "\fB\-\-target\fR \fItarget\fR" 4
  485. .IX Item "--target target"
  486. The optional command-line switch \fB\-\-target\fR \fIbfdname\fR
  487. specifies that the archive members are in an object code format
  488. different from your system's default format. See
  489. .IP "\fB\-\-output\fR \fIdirname\fR" 4
  490. .IX Item "--output dirname"
  491. The \fB\-\-output\fR option can be used to specify a path to a
  492. directory into which archive members should be extracted. If this
  493. option is not specified then the current directory will be used.
  494. .Sp
  495. Note \- although the presence of this option does imply a \fBx\fR
  496. extraction operation that option must still be included on the command
  497. line.
  498. .IP "\fB@\fR\fIfile\fR" 4
  499. .IX Item "@file"
  500. Read command-line options from \fIfile\fR. The options read are
  501. inserted in place of the original @\fIfile\fR option. If \fIfile\fR
  502. does not exist, or cannot be read, then the option will be treated
  503. literally, and not removed.
  504. .Sp
  505. Options in \fIfile\fR are separated by whitespace. A whitespace
  506. character may be included in an option by surrounding the entire
  507. option in either single or double quotes. Any character (including a
  508. backslash) may be included by prefixing the character to be included
  509. with a backslash. The \fIfile\fR may itself contain additional
  510. @\fIfile\fR options; any such options will be processed recursively.
  511. .SH "SEE ALSO"
  512. .IX Header "SEE ALSO"
  513. \&\fInm\fR\|(1), \fIranlib\fR\|(1), and the Info entries for \fIbinutils\fR.
  514. .SH "COPYRIGHT"
  515. .IX Header "COPYRIGHT"
  516. Copyright (c) 1991\-2020 Free Software Foundation, Inc.
  517. .PP
  518. Permission is granted to copy, distribute and/or modify this document
  519. under the terms of the \s-1GNU\s0 Free Documentation License, Version 1.3
  520. or any later version published by the Free Software Foundation;
  521. with no Invariant Sections, with no Front-Cover Texts, and with no
  522. Back-Cover Texts. A copy of the license is included in the
  523. section entitled \*(L"\s-1GNU\s0 Free Documentation License\*(R".