This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Extract static object from dynamic one


On Dec 3, 2007 5:21 PM, Thomas Köppe <t.koeppe@ed.ac.uk> wrote:
...
> Suppose I have a dynamic C library libfoo.so (or foo.dll) along with
> headers in foo.h. Is it possible to build from the binary a static
> library libfoo.a?

I believe GNU libtool can be used to do that.  Check out the docs at

http://www.gnu.org/software/libtool/manual.html

-Tom

Tom Browder
Niceville, Florida
USA


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]