public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: "Tom Browder" <tom.browder@gmail.com>
To: "Thomas Köppe" <t.koeppe@ed.ac.uk>
Cc: gcc-help@gcc.gnu.org
Subject: Re: Extract static object from dynamic one
Date: Tue, 04 Dec 2007 11:58:00 -0000	[thread overview]
Message-ID: <8bc817ee0712040358o4e3d8d85vf9afafa25fe5eea@mail.gmail.com> (raw)
In-Reply-To: <47548F85.8040002@ed.ac.uk>

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

  reply	other threads:[~2007-12-04 11:58 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-03 23:22 Thomas Köppe
2007-12-04 11:58 ` Tom Browder [this message]
2007-12-04 13:05   ` Brian Dessent
2007-12-04 14:08     ` Thomas Köppe
2007-12-04 14:19       ` Brian Dessent
2007-12-04 16:13         ` Ian Lance Taylor
2007-12-04 14:47 Duft Markus
2007-12-04 15:06 ` Thomas Köppe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8bc817ee0712040358o4e3d8d85vf9afafa25fe5eea@mail.gmail.com \
    --to=tom.browder@gmail.com \
    --cc=gcc-help@gcc.gnu.org \
    --cc=t.koeppe@ed.ac.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).