All Questions
6
questions
2
votes
1
answer
565
views
deterministic mode in ranlib in gnu utilities
i was reading about ranlib that update the index or generates an index of contents of an archive
here
in the option that you can provide to ranlib there is -D
and -U
i read the definition but i ...
0
votes
1
answer
43
views
Does the dash prefix have any effect on the behavior of `ar`?
In the man page for the ar utility, I see the following line.
If you wish, you may begin the first command-line argument with a
dash.
However, there is no further mention of the dash anywhere ...
0
votes
1
answer
283
views
What's the difference between these two ar commands
What's the difference between:
ar -x liba.a
ar -x libb.a
ar rcs libab.a *.o
and
ar rcs libab.a liba.a libb.a
Are they really doing the same task?
1
vote
1
answer
78
views
How to detect library order for one pass linker?
Is there a tool that will analyze a large group of static archives, and order them for input to a one pass linker?
1
vote
1
answer
276
views
Clobber existing file with ar
When using ar with an archive name that already exists, this message is generated:
+ ar rcs /tmp/libcpfs.a.3nbsv /tmp/cpfs.c.ERGsn /tmp/log.c.1lk6G
ar: /tmp/libcpfs.a.3nbsv: File format not ...
2
votes
1
answer
687
views
static library creation
in general
we use ar rcs command to create a static library on unix.
what does the flag 's' mean over here
man page says
Do not generate an archive symbol
table. This can speed up building
...