[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Shared Libaries
- From: John Davis <jdavis1 home com>
- To: redhat-install-list redhat com
- Subject: Re: Shared Libaries
- Date: Fri, 24 Oct 1997 22:30:42 -0700
Brian C. Hand wrote:
>
> Hello,
>
> I am developing some libraries in C that I am making into static
> libaries. (*.a
> files). I know how to do this, however, I would like to re-engineer
> this so that they are shared library files. (*.so) files. I would like
> a procedure for any
> necessary compiler switches, and whatever else I would need to know in
> order to
> compile, build the .so file(s) and be able to link them into my
> programs.
you compile it with gcc -shared -o foo.so foo.c that's all you need. i
forget how to link, i think it might produce a stub that you link with
like normal, but i don't know.
john
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]