Ar (Unix)

The archiver (also known simply as ar) is a UNIX utility that maintains groups of files as a single archive file. Generally, ar is used to create and update library files that the link editor or linker uses; however, it can be used to create archives for any purpose. ar is included as one of the GNU Binutils. For example, to create an archive from files class1.o, class2.o, class3.o, the following command would be used:
  ar rcs libclass.a class1.o class2.o class3.o 
to compile a program that depends on class1.o, class2.o, and class3.o one could do:
  cc main.c -L. -lclass 
instead of:
  cc main.c class1.o class2.o class3.o  
The -L and -l switches instruct the linker to look for the library "libclass.a" in the current directory.

See also

External links

 

<< PreviousWord BrowserNext >>
john myung
guy gardner (comics)
moyobamba
sword dance
history of women in the united states
rapper sword
yahwism
hispano suiza 12y
thomas seckford
petscii
new mutants
david langford
whiting (fish)
jinzhou, hebei
ryo kase
frik du preez
arata
kid sampson
lp (unix)
synaptic package manager
bitterling
list of british birds
annunciation
joe odagiri
list of presidents of greece
rae days
miwa nishikawa
code of federal regulations
len duvall
ymca (song)
yield to maturity
cadwaladr
toby harris
feather linux
encana
patrick mphephu
absol
earl of gainsborough
samantha heath
old course at st andrews
meg hillier
list of iron laws
metroid prime 2: echoes
diana johnson