HP-UX Reference (11i v3 07/02) - 4 File Formats (vol 8)

a
ar(4) ar(4)
yetanotherlongfilename.o
contains /27 in the ar_name field. The long name string table
would have the following format:
+0 +1 +2 +3 +4 +5 +6 +7 +8 +9
0 t|h|i|s|i|s|a|v|e|r|
10y|l|o|n|g|f|i|l|e|n|
20 a|m|e|.|o|/|\n|y|e|t|
30 a|n|o|t|h|e|r|l|o|n|
40g|f|i|l|e|n|a|m|e|.|
50 o | / | \n |
SEE ALSO
System Tools:
ar(1) create archived libraries
ld(1) invoke the link editor
Miscellaneous:
a.out(4) assembler, compiler, and linker output
magic(4) magic number for HP-UX implementations
ranlib(1) regenerate an archive symbol table
strip(1) strip symbol and line number information from an object file
CAVEATS
strip removes the archive symbol table member from the archive (see strip(1)). The archive symbol table
must be restored by using the -ts option of the ar command or the ranlib(1) command before the
archive can be used with the
ld link editor.
HP-UX 11i Version 3: February 2007 2 Hewlett-Packard Company 39