I have coded some functions related to linked lists, like:
They are saved in files named after the function:
I also have made a header file (linkedList.h) which includes the structure declarations used in the list, like:
Now I would like to include all those functions in a library, so I can just call the functions when needed.
typedef struct nodetag
struct nodetag *link;
How can I do that?
Thanks in advance !
What OS and compiler, PA?
You can create a shared or static library in gcc with the -shared and -static command line options.