mirror of
https://github.com/chubin/cheat.sheets
synced 2024-11-19 03:25:44 +00:00
13 lines
425 B
Plaintext
13 lines
425 B
Plaintext
# ranlib
|
|
# Generate an index to the contents of an archive and stores it in the archive.
|
|
# The index lists each symbol defined by a member of an archive that is
|
|
# a relocatable object file.
|
|
|
|
# Creates an index of the contents of fruits.a and store the index in fruits.a.
|
|
# This is useful for linking and in case the objects call each other.
|
|
ranlib fruits.a
|
|
# after
|
|
# ar r fruits.a apple.o orange.o pineapple.o
|
|
# is called
|
|
|