Mail Archives: djgpp/1997/09/27/22:15:20
WiZKiD <wizkids_online AT geocities DOT com> wrote in article
<342C27FE DOT 5F9C AT geocities DOT com>...
> Hi Everyone,
>
> I'm having problems triend to develop my own library. I have
a couple
> of function and would like to group them all up and distribute
this
> library file in a file like "stuff.lib", and have a C program
call it
> up as #include "stuff.h". I know that I have to make a
header-file
> with the prototype for each function and all. But I don't know
how to
> go about compiling the functions into a library :o(
>
> Any help would be apreciated. Ok, thanks for reading this
long
> request. Have a great day.
>
> WiLLiE
Hi Willie,
Most C implementations include a library tool which is used to
build and modify libraries. The name and use of the tool varies
with different compilers and operating systems. On the PC, for
example, Microsoft compilers come with a library tool named lib.
Borland compilers come with tlib.
Consult the documentation for your compiler for the name of the
tool and how to invoke it to do what you want, and/or post this
question to a newsgroup which deals specifically with your
platform or compiler.
Jack
- Raw text -