Gentoo Archives: gentoo-dev

From: Kfir Lavi <lavi.kfir@×××××.com>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] ACE gcc and libc dependency
Date: Tue, 03 May 2011 15:28:40
Message-Id: BANLkTikLzUp7+zxb0D9ekJuE=HPX0m+7zg@mail.gmail.com
1 Hi,
2 I'm trying to build a small system that installs just the needed libraries.
3 One of the programs is ACE libs.
4 ldd shows:
5 (hardend) goofy catalyst # ldd /usr/lib/libACE-6.0.1.so
6 linux-gate.so.1 => (0xa2782000)
7 librt.so.1 => /lib/librt.so.1 (0xa25bd000)
8 libdl.so.2 => /lib/libdl.so.2 (0xa25b9000)
9 libstdc++.so.6 =>
10 /usr/lib/gcc/i686-pc-linux-gnu/4.5.2/libstdc++.so.6 (0xa24bd000)
11 libm.so.6 => /lib/libm.so.6 (0xa2496000)
12 libc.so.6 => /lib/libc.so.6 (0xa2310000)
13 libgcc_s.so.1 => /usr/lib/gcc/i686-pc-linux-gnu/4.5.2/libgcc_s.so.1
14 (0xa22f6000)
15 libpthread.so.0 => /lib/libpthread.so.0 (0xa22dc000)
16 /lib/ld-linux.so.2 (0xa2783000)
17
18 In the ebuild there is no mention of runtime dependency like gcc or glibc.
19 ...
20 COMMON_DEPEND="dev-libs/openssl"
21 # TODO probably more
22 RDEPEND="${COMMON_DEPEND}
23 X? ( x11-libs/libXt x11-libs/libXaw )"
24
25 DEPEND="${COMMON_DEPEND}
26 X? ( x11-proto/xproto )"
27 ...
28
29 I have added virtual/libc sys-devel/gcc to RDEPEND, but this will install
30 gcc.
31 I would like to avoid installing gcc, and would like to install just the
32 libraries.
33 Is this approach correct?
34 Why sys-devel/gcc don't have a library version without the actual compiler?
35
36 Regards,
37 Kfir

Replies

Subject Author
Re: [gentoo-dev] ACE gcc and libc dependency "Paweł Hajdan