1 |
On Wednesday 14 March 2012 05:32:35 Joakim Tjernlund wrote: |
2 |
> Mike Frysinger <vapier@g.o> wrote on 2012/03/13 23:47:27: |
3 |
> > On Tuesday 13 March 2012 08:43:16 Joakim Tjernlund wrote: |
4 |
> > > Ed W <lists@××××××××××.com> wrote on 2012/03/13 13:07:37: |
5 |
> > > > On 10/03/2012 20:58, Mike Frysinger wrote: |
6 |
> > > > > On Friday 09 March 2012 10:58:10 Joakim Tjernlund wrote: |
7 |
> > > > >> A "qfile /lib/libgcc_s.so.1" does not list any package, |
8 |
> > > > >> should it not belong to sys-devel/gcc ? |
9 |
> > > > > |
10 |
> > > > > gcc-config installs it from /usr/lib/gcc/..... to /lib |
11 |
> > > > |
12 |
> > > > So perhaps there is a case that gcc-config/eselect/webapp-config/etc |
13 |
> > > > should record what they do..? |
14 |
> > > |
15 |
> > > Would help some, I just noted that gcc-config does not install |
16 |
> > > libgcc_s.so.1 for cross gccs, a bug? |
17 |
> > |
18 |
> > not sure what you mean. afaik, it works fine. |
19 |
> |
20 |
> gentoo-qclli gcc # gcc-config powerpc-softfloat_4.5.3-linux-gnu-4.5.3 |
21 |
> * Switching cross-compiler to powerpc-softfloat_4.5.3-linux-gnu-4.5.3 ... |
22 |
> [ ok ] |
23 |
> gentoo-qclli gcc # find /usr/powerpc-softfloat_4.5.3-linux-gnu/ -name |
24 |
> "libgcc_s.*" |
25 |
> gentoo-qclli gcc # |
26 |
> |
27 |
> Should it not be a libgcc_s under there? |
28 |
|
29 |
no. again, context matters. what you did above was pick a cross-compiler |
30 |
(CHOST=x86_64-pc-linux-gnu/whatever CTARGET=powerpc-xxx). you did not pick a |
31 |
native compiler and that is the only time libgcc_s and friends get copied. |
32 |
|
33 |
had you installed a native compiler into /usr/$CTARGET and then done something |
34 |
like `ROOT=/usr/$CTARGET gcc-config $CTARGET-ver`, you'd probably get a |
35 |
libgcc_s in /usr/$CTARGET/lib/. |
36 |
-mike |