Search:

Type: Posts; User: sirmoreno

Search: Search took 0.00 seconds.

  1. Replies
    5
    Views
    6,206

    # use the library $ gcc test.c -L. -libfoo.a ...

    # 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...
  2. Replies
    5
    Views
    6,206

    I'm a student and it's a project i have to do...

    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...
  3. Replies
    5
    Views
    6,206

    Makefile for a library

    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...
Results 1 to 3 of 3