Gentoo Archives: gentoo-user

From: Al <oss.elmar@××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: static-libs
Date: Sun, 12 Sep 2010 10:27:49
Message-Id: AANLkTi=c795UqMyN9mxm801rzo+w0ZgjEdwS-vRSiGJ7@mail.gmail.com
In Reply to: Re: [gentoo-user] Re: static-libs by Andrea Conti
1 > You can't link dynamically against a library archive, so all DL code on
2
3 Don't you contradict
4 http://tldp.org/HOWTO/Program-Library-HOWTO/introduction.html with
5 this?
6
7 Practically you never do. But could, if you really wanted?
8
9 AFAIK you need PIC only to share libs in memory. The rest is already
10 covered by MMU.
11
12 So why shouldn't you be able to load an unshared lib (without PIC)
13 dynamically? Sure there still would be some additional steps.
14
15 Al

Replies

Subject Author
Re: [gentoo-user] Re: static-libs Andrea Conti <alyf@××××.net>