# use the library
$ gcc test.c -L. -libfoo.a <- Why just -lfoo?
./test <- Run the user file and not the lib file
Hello from umain
When i...
Type: Posts; User: sirmoreno
# use the library
$ gcc test.c -L. -libfoo.a <- Why just -lfoo?
./test <- Run the user file and not the lib file
Hello from umain
When i...
I'm a student and it's a project i have to do
the library should implement a user threads library
and umain() should be given by the user and run as thread number 0.
in test.c (user) there is no...
Hi,
I want to make a library in c that any user program can include
I know that the make file of the library should be:
all: a.c b.c
gcc –c a.c –o a.o
gcc –c b.c –o b.o
ar rcs...