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 1QHHWi-0007ve-28 for garchives@archives.gentoo.org; Tue, 03 May 2011 15:28:40 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4C9851C01D; Tue, 3 May 2011 15:28:31 +0000 (UTC) Received: from mail-ww0-f53.google.com (mail-ww0-f53.google.com [74.125.82.53]) by pigeon.gentoo.org (Postfix) with ESMTP id 083881C018 for ; Tue, 3 May 2011 15:28:00 +0000 (UTC) Received: by wwj40 with SMTP id 40so199694wwj.10 for ; Tue, 03 May 2011 08:28:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:from:date:message-id:subject:to :content-type; bh=FMUbXyNJgqxu8hpBIYtAIlbdanEChTRmqMaKd8oU4tM=; b=nQ9RTJRV8gyqjK8lfi/MQiBeuZmawSanr0DgWr1uYLv/hA838m5aBK+0qAkME7B5L0 RMYWUqNQs4TM3buXZpQYS4wXuap7HDo4yOxoVQtaGNUKmGuj8uIWFtkyfktMWBMv4wYq e1V/GvdOx1vrN+WEJTqNTQdQ8d+OL8ewZo+AI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=EMw1I8lNLasqk1bYoC6bSho1gAJ5n8Zo+S+8Du2VRDlzTiqigZkJxsApIa0koBmttH g/BqOqHbeFfPutxMuPkky4BxQoLdG92/gh8V1QwS0E+tjKYZ9ypzMSemhA/lySOERPGH L5v+5r8RfsRRbrexrKr/EPRdZQMP9wcRfKNq8= Received: by 10.216.142.165 with SMTP id i37mr9254771wej.106.1304436480120; Tue, 03 May 2011 08:28:00 -0700 (PDT) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Received: by 10.216.162.146 with HTTP; Tue, 3 May 2011 08:27:40 -0700 (PDT) From: Kfir Lavi Date: Tue, 3 May 2011 18:27:40 +0300 Message-ID: Subject: [gentoo-dev] ACE gcc and libc dependency To: gentoo-dev@lists.gentoo.org Content-Type: multipart/alternative; boundary=0016e6db2942079af604a260c9b4 X-Archives-Salt: X-Archives-Hash: 63cc9b0b6242b2818438eba6873bd7c8 --0016e6db2942079af604a260c9b4 Content-Type: text/plain; charset=UTF-8 Hi, I'm trying to build a small system that installs just the needed libraries. One of the programs is ACE libs. ldd shows: (hardend) goofy catalyst # ldd /usr/lib/libACE-6.0.1.so linux-gate.so.1 => (0xa2782000) librt.so.1 => /lib/librt.so.1 (0xa25bd000) libdl.so.2 => /lib/libdl.so.2 (0xa25b9000) libstdc++.so.6 => /usr/lib/gcc/i686-pc-linux-gnu/4.5.2/libstdc++.so.6 (0xa24bd000) libm.so.6 => /lib/libm.so.6 (0xa2496000) libc.so.6 => /lib/libc.so.6 (0xa2310000) libgcc_s.so.1 => /usr/lib/gcc/i686-pc-linux-gnu/4.5.2/libgcc_s.so.1 (0xa22f6000) libpthread.so.0 => /lib/libpthread.so.0 (0xa22dc000) /lib/ld-linux.so.2 (0xa2783000) In the ebuild there is no mention of runtime dependency like gcc or glibc. ... COMMON_DEPEND="dev-libs/openssl" # TODO probably more RDEPEND="${COMMON_DEPEND} X? ( x11-libs/libXt x11-libs/libXaw )" DEPEND="${COMMON_DEPEND} X? ( x11-proto/xproto )" ... I have added virtual/libc sys-devel/gcc to RDEPEND, but this will install gcc. I would like to avoid installing gcc, and would like to install just the libraries. Is this approach correct? Why sys-devel/gcc don't have a library version without the actual compiler? Regards, Kfir --0016e6db2942079af604a260c9b4 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,
I'm trying to build a small system that install= s just the needed libraries.
One of the programs is ACE libs.
ldd s= hows:
(hardend) goofy catalyst # ldd /usr/lib/libACE-6.0.1.so
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 linux-gate.so.1 =3D>=C2=A0 (0= xa2782000)
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 librt.so.1 =3D>= /lib/librt.so.1 (0xa25bd000)
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= libdl.so.2 =3D> /lib/libdl.so.2 (0xa25b9000)
=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 libstdc++.so.6 =3D> /usr/lib/gcc/i686-pc-linux-gnu= /4.5.2/libstdc++.so.6 (0xa24bd000)
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 libm.so.6 =3D> /lib/libm.so.6= (0xa2496000)
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 libc.so.6 =3D&g= t; /lib/libc.so.6 (0xa2310000)
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 libgcc_s.so.1 =3D> /usr/lib/gcc/i686-pc-linux-gnu/4.5.2/libgcc_s.so.= 1 (0xa22f6000)
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 libpthread.so.= 0 =3D> /lib/libpthread.so.0 (0xa22dc000)
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 /lib/ld-linux.so.2 (0xa2783000)<= br>
In the ebuild there is no mention of runtime dependency like gcc or = glibc.
...
COMMON_DEPEND=3D"dev-libs/openssl"
# TODO pro= bably more
RDEPEND=3D"${COMMON_DEPEND}
=C2=A0=C2=A0=C2=A0 X? ( x11-libs/libXt x11-libs/libXaw )"

DEPEN= D=3D"${COMMON_DEPEND}
=C2=A0=C2=A0=C2=A0 X? ( x11-proto/xproto )&qu= ot;
...

I have added virtual/libc sys-devel/gcc to RDEPEND, but t= his will install gcc.
I would like to avoid installing gcc, and would li= ke to install just the libraries.
Is this approach correct?
Why sys-devel/gcc don't have a library ver= sion without the actual compiler?

Regards,
Kfir


--0016e6db2942079af604a260c9b4--