Rob Landley wrote:
Not entirely sure why, they didn't specify s, but I guess ar creates the index
by default when you create with c?
From GNU ar man:
s Write an object-file index into the archive, or update an existing
one, *even if no other change is made* to the archive. You may use
this modifier flag either with any operation, or alone. Running ar
s on an archive is equivalent to running ranlib on it.
S Do not generate an archive symbol table. This can speed up build-
ing a large library in several steps. The resulting archive can
not be used with the linker. *In order to build a symbol table*, you
must omit the S modifier on the last execution of ar, or you must
run ranlib on the archive.
It seems that GNU ar builds the symbol table by default, unless
instructed not to do it.
Ralf
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox