Gentoo Archives: gentoo-user

From: walt <w41ter@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: Building static libraries
Date: Mon, 14 Dec 2009 20:08:45
Message-Id: hg5vuq$f9p$1@ger.gmane.org
In Reply to: Re: [gentoo-user] Re: Building static libraries by Renat Golubchyk
1 Renat Golubchyk wrote:
2
3 > As you said, you really are confused. :-) Maybe I wasn't clear enough.
4 > Anyway, I've written a program, and I need it as a statically linked
5 > binary. In order to link statically the linker (ld) needs all the used
6 > libraries in static form, i.e. as a .a and not as a .so file. Since
7 > portage does not build static libraries by default I need a way to tell
8 > portage that I really do want to have .a files built.
9 >
10 > I do _not_ want to create a Gentoo package, at least not at this stage
11 > of development.
12
13 Still confused :o(
14
15 Portage is for building Gentoo packages -- if you don't want to build a
16 Gentoo package then why is portage involved? You can compile and link
17 your program with any flags you want to, so as to get static binaries.

Replies

Subject Author
Re: [gentoo-user] Re: Building static libraries Allan Gottlieb <gottlieb@×××.edu>
Re: [gentoo-user] Re: Building static libraries Renat Golubchyk <ragermany@×××.net>
Re: [gentoo-user] Re: Building static libraries Alan McKinnon <alan.mckinnon@×××××.com>