From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1NKJDR-0003tS-Hl for garchives@archives.gentoo.org; Mon, 14 Dec 2009 22:16:29 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 325B8E0F2C for ; Mon, 14 Dec 2009 22:16:29 +0000 (UTC) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by pigeon.gentoo.org (Postfix) with SMTP id 68F70E0AB4 for ; Mon, 14 Dec 2009 21:35:09 +0000 (UTC) Received: (qmail invoked by alias); 14 Dec 2009 21:16:56 -0000 Received: from koln-4db43c58.pool.mediaWays.net (EHLO localhost) [77.180.60.88] by mail.gmx.net (mp071) with SMTP; 14 Dec 2009 22:16:56 +0100 X-Authenticated: #3423037 X-Provags-ID: V01U2FsdGVkX19MRXUVxyFM0W8wiVyIgyVt6exhHDGitGvxAnDfGY 7DqETj0jMmomET Date: Mon, 14 Dec 2009 22:16:46 +0100 From: Renat Golubchyk To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: Building static libraries Message-ID: <20091214221646.6fdde3ae@gmx.net> In-Reply-To: References: <20091213201857.48f77322@gmx.net> <20091214012748.314c2eaf@gmx.net> X-Mailer: Claws Mail 3.7.3 (GTK+ 2.18.3; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/+5fYw4aIg/e3C/M4.=dP_oP"; protocol="application/pgp-signature" X-Y-GMX-Trusted: 0 X-FuHaFi: 0.6899999999999999 X-Archives-Salt: 7cd0205f-77b4-4be6-8e06-1877e91b78b6 X-Archives-Hash: d3586b579e88c048ac9ce4afe54acbf8 --Sig_/+5fYw4aIg/e3C/M4.=dP_oP Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Mon, 14 Dec 2009 10:28:21 -0800 walt wrote: > Renat Golubchyk wrote: >=20 > > As you said, you really are confused. :-) Maybe I wasn't clear > > enough. Anyway, I've written a program, and I need it as a > > statically linked binary. In order to link statically the linker > > (ld) needs all the used libraries in static form, i.e. as a .a and > > not as a .so file. Since portage does not build static libraries by > > default I need a way to tell portage that I really do want to > > have .a files built. > >=20 > > I do _not_ want to create a Gentoo package, at least not at this > > stage of development. >=20 > Still confused :o( >=20 > Portage is for building Gentoo packages -- if you don't want to build > a Gentoo package then why is portage involved? You can compile and > link your program with any flags you want to, so as to get static > binaries. Because my program uses different libraries which I don't build manually. Instead I use portage. That way I can compile in only those features that I need and I don't have to resolve dependencies. Cheers, Renat --=20 Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) --Sig_/+5fYw4aIg/e3C/M4.=dP_oP Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (GNU/Linux) iEYEARECAAYFAksmq0QACgkQRZZXkGjHI/2dYACfS3aVqLaSx1Xn0vQSl96csZUp fk0An128vfUuXJU2xthtJU8173BUD8d7 =hAeU -----END PGP SIGNATURE----- --Sig_/+5fYw4aIg/e3C/M4.=dP_oP--