public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Renat Golubchyk <ragermany@gmx.net>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Building static libraries
Date: Mon, 14 Dec 2009 01:27:34 +0100	[thread overview]
Message-ID: <20091214012734.1527f221@gmx.net> (raw)
In-Reply-To: <1260736834.11448.15.camel@centar>

[-- Attachment #1: Type: text/plain, Size: 1262 bytes --]

On Sun, 13 Dec 2009 15:40:34 -0500
Albert Hopkins <marduk@letterboxes.org> wrote:
> GTK+, i believe, can't be built statically as it uses dynload for
> themes, input methods, etc etc.  Even most proprietary gtk-based
> software that I know of (e.g. Adobe Flash and VMWare) either are
> distributed with GTK+ linked dynamically or they provide their own
> GTK libs).

Hmm, I'll test that because I use GTK+ although it is not a GUI app.

> You can apply "-static" to CFLAGS, but make sure you have a binpkg
> built first, as there is a chance you may break something.  You can
> also try passing "--enable-static" to EXTRA_ECONF.  That's probably
> safer than the former, but the same caveat applies.

Ah, in all the years using Gentoo I have never needed EXTRA_ECONF,
although I've heard a lot about it on this list. It is, of course,
listed in make.conf man page, but since everything works here I usually
do not need to look at it.

Anyway, thanks for the pointer. I'm testing it right now, and it seems
to work so far. I'll report back when emerge is finished.


Cheers,
Renat

-- 
Probleme kann man niemals mit derselben Denkweise loesen,
durch die sie entstanden sind.
                                              (Einstein)

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

  reply	other threads:[~2009-12-14  2:01 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-13 19:18 [gentoo-user] Building static libraries Renat Golubchyk
2009-12-13 20:40 ` Albert Hopkins
2009-12-14  0:27   ` Renat Golubchyk [this message]
2009-12-13 22:47 ` [gentoo-user] " walt
2009-12-14  0:27   ` Renat Golubchyk
2009-12-14  1:53     ` Albert Hopkins
2009-12-14  2:19       ` Renat Golubchyk
2009-12-14 18:28     ` walt
2009-12-14 20:19       ` Allan Gottlieb
2009-12-14 20:25       ` Alan McKinnon
2009-12-15  6:53         ` Renat Golubchyk
2009-12-14 21:16       ` Renat Golubchyk

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=20091214012734.1527f221@gmx.net \
    --to=ragermany@gmx.net \
    --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