public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Paul Hartman" <paul.hartman+gentoo@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] "prelink" a dynamic library
Date: Fri, 3 Oct 2008 13:24:03 -0500	[thread overview]
Message-ID: <58965d8a0810031124l12f81d35j342ad45b7d4989c4@mail.gmail.com> (raw)
In-Reply-To: <tkrat.1c2bfe9dfd0611f0@igpm.rwth-aachen.de>

On Wed, Oct 1, 2008 at 11:53 AM, Helmut Jarausch
<jarausch@igpm.rwth-aachen.de> wrote:
> Hi,
>
> I want to create a shared library, say libULIB.so,
> which needs additional shared libraries, e.g. libmpfr.so and
> libgmp.so .
>
> My users only use the functions provided by libULIB.so.
>
> Is there a means to "prelink" libULIB.so, so that the libraries
> libmpfr.so and libgmp.so are not needed by the user?

use the -static commandline option of gcc.

Paul



      parent reply	other threads:[~2008-10-03 18:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-01 16:53 [gentoo-user] "prelink" a dynamic library Helmut Jarausch
2008-10-02 12:19 ` bzk0711
2008-10-03 10:21   ` Helmut Jarausch
2008-10-03 17:49     ` b.n.
2008-10-03 18:24 ` Paul Hartman [this message]

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=58965d8a0810031124l12f81d35j342ad45b7d4989c4@mail.gmail.com \
    --to=paul.hartman+gentoo@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /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