Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Sep 2011 11:01:14 +0400
From:      Lev Serebryakov <lev@FreeBSD.org>
To:        Doug Barton <dougb@FreeBSD.org>
Cc:        ports@FreeBSD.org
Subject:   Re: Print +REQUIRED_BY as tree?
Message-ID:  <801150301.20110913110114@serebryakov.spb.ru>
In-Reply-To: <4E6E6607.2030104@FreeBSD.org>
References:  <503309410.20110912205856@serebryakov.spb.ru> <CA940116.21806%freebsdlists-ports@chillibear.com> <865325899.20110912230621@serebryakov.spb.ru> <4E6E60C7.90304@FreeBSD.org> <181642832.20110912235833@serebryakov.spb.ru> <4E6E6607.2030104@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello, Doug.
You wrote 13 =F1=E5=ED=F2=FF=E1=F0=FF 2011 =E3., 0:05:27:

> On 09/12/2011 12:58, Lev Serebryakov wrote:
>>  How could I determine which ports are directly lined with libgcc from
>> gcc44? ldd?=20
> Yes, that's really the only answer. I have the following function which
> would work:
 <snip>
 libchk port could help, too. But it seems top be broken. It shows,
 that system /usr/lib/libstdc++.so.6 depends on gcc44's libgcc_s.so
 and it is completely wrong!

 I'll fill pr about it!

> You could run old_libs <name of libgcc> and it would tell you which
> things are linked against it.

> Alternatively you could do the following with portmaster:
> portmaster -o lang/gcc45 gcc-4.4
> portmaster -R -r gcc-4.5
  Yep, but it is very long way when you have, say, kde4 installed. It
 is why I want to determine MINIMAL set of ports, which are REALLY
 depend on gcc4

  For example, x264 DEPENDS on gcc, (has USE_GCC=3D4.4+ in Makefile),
 but no x264 files are linked with libgcc_s.so or other libraries from
 gcc44. It seems, that we need separate USE_GCC_BUILD and USE_GCC_RUN,
 as with PERL or PYTHON.

--=20
// Black Lion AKA Lev Serebryakov <lev@FreeBSD.org>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?801150301.20110913110114>