* [gentoo-dev] ACE gcc and libc dependency
@ 2011-05-03 15:27 Kfir Lavi
2011-05-03 15:53 ` "Paweł Hajdan, Jr."
0 siblings, 1 reply; 6+ messages in thread
From: Kfir Lavi @ 2011-05-03 15:27 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 1245 bytes --]
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
[-- Attachment #2: Type: text/html, Size: 1567 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-dev] ACE gcc and libc dependency
2011-05-03 15:27 [gentoo-dev] ACE gcc and libc dependency Kfir Lavi
@ 2011-05-03 15:53 ` "Paweł Hajdan, Jr."
2011-05-03 16:15 ` Mike Gilbert
2011-05-03 16:53 ` [gentoo-dev] " Diego Elio Pettenò
0 siblings, 2 replies; 6+ messages in thread
From: "Paweł Hajdan, Jr." @ 2011-05-03 15:53 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 371 bytes --]
On 5/3/11 5:27 PM, Kfir Lavi wrote:
> In the ebuild there is no mention of runtime dependency like gcc or glibc.
See
<http://devmanual.gentoo.org/general-concepts/dependencies/index.html#implicit-system-dependency>
> Why sys-devel/gcc don't have a library version without the actual compiler?
This question may be a bit hard to understand, at least for me.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 194 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-dev] ACE gcc and libc dependency
2011-05-03 15:53 ` "Paweł Hajdan, Jr."
@ 2011-05-03 16:15 ` Mike Gilbert
2011-05-04 11:09 ` Kfir Lavi
2011-05-03 16:53 ` [gentoo-dev] " Diego Elio Pettenò
1 sibling, 1 reply; 6+ messages in thread
From: Mike Gilbert @ 2011-05-03 16:15 UTC (permalink / raw
To: gentoo-dev
On Tue, May 3, 2011 at 11:53 AM, "Paweł Hajdan, Jr."
<phajdan.jr@gentoo.org> wrote:
> On 5/3/11 5:27 PM, Kfir Lavi wrote:
>> In the ebuild there is no mention of runtime dependency like gcc or glibc.
>
> See
> <http://devmanual.gentoo.org/general-concepts/dependencies/index.html#implicit-system-dependency>
>
>> Why sys-devel/gcc don't have a library version without the actual compiler?
>
> This question may be a bit hard to understand, at least for me.
>
>
Other distros package libstdc++ separately from gcc. On Gentoo, the
one package (sys-devel/gcc) provides both.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [gentoo-dev] Re: ACE gcc and libc dependency
2011-05-03 15:53 ` "Paweł Hajdan, Jr."
2011-05-03 16:15 ` Mike Gilbert
@ 2011-05-03 16:53 ` Diego Elio Pettenò
1 sibling, 0 replies; 6+ messages in thread
From: Diego Elio Pettenò @ 2011-05-03 16:53 UTC (permalink / raw
To: gentoo-dev
Il giorno mar, 03/05/2011 alle 17.53 +0200, "Paweł Hajdan, Jr." ha
scritto:
>
>
> See
> <http://devmanual.gentoo.org/general-concepts/dependencies/index.html#implicit-system-dependency>
Don't know the specifics of the package, but if it's a binary package,
then glibc is not considered an implicit system dependency: you want to
explicit that uclibc/freebsd-libc and so on do not work for the package.
--
Diego Elio Pettenò — Flameeyes
http://blog.flameeyes.eu/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-dev] ACE gcc and libc dependency
2011-05-03 16:15 ` Mike Gilbert
@ 2011-05-04 11:09 ` Kfir Lavi
2011-05-04 11:32 ` Ciaran McCreesh
0 siblings, 1 reply; 6+ messages in thread
From: Kfir Lavi @ 2011-05-04 11:09 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 820 bytes --]
On Tue, May 3, 2011 at 7:15 PM, Mike Gilbert <floppymaster@gmail.com> wrote:
> On Tue, May 3, 2011 at 11:53 AM, "Paweł Hajdan, Jr."
> <phajdan.jr@gentoo.org> wrote:
> > On 5/3/11 5:27 PM, Kfir Lavi wrote:
> >> In the ebuild there is no mention of runtime dependency like gcc or
> glibc.
> >
> > See
> > <
> http://devmanual.gentoo.org/general-concepts/dependencies/index.html#implicit-system-dependency
> >
> >
> >> Why sys-devel/gcc don't have a library version without the actual
> compiler?
> >
> > This question may be a bit hard to understand, at least for me.
> >
> >
>
> Other distros package libstdc++ separately from gcc. On Gentoo, the
> one package (sys-devel/gcc) provides both.
>
> Maybe we should add a new USE flag that will install just the libraries.
(USE="justlibs")
Kfir
[-- Attachment #2: Type: text/html, Size: 1418 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-dev] ACE gcc and libc dependency
2011-05-04 11:09 ` Kfir Lavi
@ 2011-05-04 11:32 ` Ciaran McCreesh
0 siblings, 0 replies; 6+ messages in thread
From: Ciaran McCreesh @ 2011-05-04 11:32 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 685 bytes --]
On Wed, 4 May 2011 14:09:03 +0300
Kfir Lavi <lavi.kfir@gmail.com> wrote:
> > Maybe we should add a new USE flag that will install just the
> > libraries.
>
> (USE="justlibs")
Then you'd have to update nearly every package that deps upon GCC to
have a [-justlibs] dependency. Arguably not so bad for GCC, but in
general it's a huge problem, and it's the reason [client] and [server]
flags aren't popular.
(And if features like those are desired, please don't start updating
zillions of ebuilds with [-blah] flags. Ask for an EAPI feature that
lets flags in IUSE be marked as "require me this way unless something
explicitly says otherwise"...)
--
Ciaran McCreesh
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2011-05-04 11:33 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-03 15:27 [gentoo-dev] ACE gcc and libc dependency Kfir Lavi
2011-05-03 15:53 ` "Paweł Hajdan, Jr."
2011-05-03 16:15 ` Mike Gilbert
2011-05-04 11:09 ` Kfir Lavi
2011-05-04 11:32 ` Ciaran McCreesh
2011-05-03 16:53 ` [gentoo-dev] " Diego Elio Pettenò
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox