Skip to main content

All Questions

Tagged with
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 ...
zerocool's user avatar
  • 3,416
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 ...
merlin2011's user avatar
  • 73.9k
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?
user avatar
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?
Juan's user avatar
  • 3,717
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 ...
Matt Joiner's user avatar
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 ...
Vijay's user avatar
  • 66.7k