Re: [gentoo-dev] ACE gcc and libc dependency

2011-05-04 Thread Ciaran McCreesh
On Wed, 4 May 2011 14:09:03 +0300
Kfir Lavi  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


signature.asc
Description: PGP signature


Re: [gentoo-dev] ACE gcc and libc dependency

2011-05-04 Thread Kfir Lavi
On Tue, May 3, 2011 at 7:15 PM, Mike Gilbert  wrote:

> On Tue, May 3, 2011 at 11:53 AM, "Paweł Hajdan, Jr."
>  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


Re: [gentoo-dev] ACE gcc and libc dependency

2011-05-03 Thread Mike Gilbert
On Tue, May 3, 2011 at 11:53 AM, "Paweł Hajdan, Jr."
 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
> 
>
>> 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.



Re: [gentoo-dev] ACE gcc and libc dependency

2011-05-03 Thread Paweł Hajdan, Jr.
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


> 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.



signature.asc
Description: OpenPGP digital signature


[gentoo-dev] ACE gcc and libc dependency

2011-05-03 Thread Kfir Lavi
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 (0xa231)
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