tags:

views:

168

answers:

3

Hi.. Please tell me what it does?

$ ar -r libsldap.a
+15  A: 

"Teach a man to fish", I say:

man ar
Johnsyweb
+1 for the attitude : )
rano
-1 for the RTFM.
Yossarian
@Yossarian: You're entitled to your opinion, of course. Neither of @pravin's questions have suggested the discovery or usage of `man`. @pravin is welcome to correct me and say "I've consulted the manpage but I'm still no clear as to what `ar` does...". Until then, my answer stands.
Johnsyweb
@Yossarian? Have you read ESR's thoughts on RTFM? http://catb.org/~esr/faqs/smart-questions.html#rtfm
Johnsyweb
+1  A: 

CLICK HERE!!!

Cipi
Yeah, seems like spam, I wont...
Tom
your keyboard is broken. Three exclamation marks do not give a statement emphasis than one exclamation mark.
Peter Miehle
@Peter Miehle: Sure they don't I was just imitating a friendly spam... as you can see, "HERE" is linked to a AR MAN page. (:
Cipi
+4  A: 

ar -r libsldap.a list-of-object-files

This line creates Linux static library, which is actually archive file that contains one or more .o files. Compiler is used previously to create these .o files.

http://www.linux.org/docs/ldp/howto/Program-Library-HOWTO/static-libraries.html

Alex Farber
+1 for being the first to explain what is `ar` ( *ar* -chive) and so inform others without having to *click* to know simple things.
levif