Search
 
SCRIPT & CODE EXAMPLE
 

C

Command to create a static library in C

ar rc libutil.a util_file.o util_net.o util_math.o
#This command creates a static library named 'libutil.a' and puts
#copies of the object files "util_file.o", "util_net.o" and "util_math.o" in it.
#If the library file already exists, it has the object files added to it, or replaced,
#if they are newer than those inside the library.
#The 'c' flag tells ar to create the library if it doesn't already exist.
#The 'r' flag tells it to replace older object files in the library, with the new object files.
Comment

Command to create a static library in C

ar rc libutil.a util_file.o util_net.o util_math.o
Comment

PREVIOUS NEXT
Code Example
C :: bcopy 
C :: division en java 
C :: how to arrange a 2d array based on string length in c 
C :: c programming exercises 
C :: c pause for 1 second 
C :: string in c and how it works 
C :: print 0 1 2 3 4 in c while loop 
C :: fwrite c 
C :: armstrong in c 
C :: size of operator in c language 
C :: mc dropout pytorch 
C :: c functions 
C :: ubuntu ocaml install 
C :: two way communication between child and parent processes in C using pipes 
C :: XAudio2 C 
C :: c to c convertor 
C :: print char* address C 
C :: Fibonacci program c pthread 
C :: Battlefield4u.com 
C :: c timespec 
C :: cmake boilerplate for visual studio c++ project 
C :: difference between %d and %i 
C :: which one is faster loop or recursive function? 
C :: how to import c data type 
C :: sue murry 
C :: passage on dowry 
C :: fscanf stops at space 
C :: can we use special characters in switch case in c 
C :: perfect numbers in c 
C :: crear funcion en c 
ADD CONTENT
Topic
Content
Source link
Name
8+1 =