[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gentoo-user
Subject:    Re: [gentoo-user] gcc 3.4.1
From:       Christian Parpart <cparpart () surakware ! net>
Date:       2004-07-16 22:33:16
Message-ID: 200407170033.16749.cparpart () surakware ! net
[Download RAW message or body]

On Friday 16 July 2004 13:56, Filipe Sousa wrote:
> On Wednesday 14 July 2004 20:47, Redeeman wrote:
> > root@redeeman: /home/redeeman# gcc-config -l
> > [1] i686-pc-linux-gnu-3.3.4
> > [2] i686-pc-linux-gnu-3.4.1
> > [3] i686-pc-linux-gnu-3.5.0
> >
> > i think its explains it ;P
> >
> > On Wed, 2004-07-14 at 18:37 +0100, Filipe Sousa wrote:
> > > Hi!
> > >
> > > I need to install gcc-3.4.x on my system, can I have both gcc-3.4.1 and
> > > gcc-3.3.3 installed? If yes what will be the default compiler?
>
> I've just installed gcc-3.4.1 and I'm using it for a project of mine, but I
> still gcc-3.3.3 to emerge packages. I noted that now, even with gcc-3.3.3
> as default compiler, the linker links the libraries against libstdc++.so.6
> and libstdc++.so.5 instead of libstdc++.so.5
>
> neptuno qinx-1.1 # gcc-config --list-profiles
> [1] i686-pc-linux-gnu-3.3.3
> [2] i686-pc-linux-gnu-3.4.1
>
> neptuno qinx-1.1 # gcc-config --get-current-profile
> i686-pc-linux-gnu-3.3.3
>
> neptuno qinx-1.1 # gcc --version
> gcc (GCC) 3.3.3 20040412 (Gentoo Linux 3.3.3-r6, ssp-3.3.2-2, pie-8.7.6)
> Copyright (C) 2003 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
>
> neptuno qinx-1.1 # emerge qinx
>
> neptuno qinx-1.1 # ldd /usr/lib/kde3/plugins/styles/qinx.so
>         linux-gate.so.1 =>  (0xffffe000)
>         libkdecore.so.4 => /usr/kde/3.2/lib/libkdecore.so.4 (0x40014000)
>         libDCOP.so.4 => /usr/kde/3.2/lib/libDCOP.so.4 (0x401fe000)
>         libresolv.so.2 => /lib/libresolv.so.2 (0x40245000)
>         libutil.so.1 => /lib/libutil.so.1 (0x40257000)
>         libart_lgpl_2.so.2 => /usr/lib/libart_lgpl_2.so.2 (0x4025b000)
>         libkdefx.so.4 => /usr/kde/3.2/lib/libkdefx.so.4 (0x40272000)
>         libqt-mt.so.3 => /usr/qt/3/lib/libqt-mt.so.3 (0x4029f000)
>         libmng.so.1 => /usr/lib/libmng.so.1 (0x40ae4000)
>         libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x40b28000)
>         libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x40b46000)
>         libXrandr.so.2 => /usr/X11R6/lib/libXrandr.so.2 (0x40b4f000)
>         libXcursor.so.1 => /usr/X11R6/lib/libXcursor.so.1 (0x40b53000)
>         libXft.so.2 => /usr/X11R6/lib/libXft.so.2 (0x40b5c000)
>         libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x40b6e000)
>         libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x40b95000)
>         libexpat.so.0 => /usr/lib/libexpat.so.0 (0x40c00000)
>         libdl.so.2 => /lib/libdl.so.2 (0x40c21000)
>         libpng.so.3 => /usr/lib/libpng.so.3 (0x40c24000)
>         libz.so.1 => /lib/libz.so.1 (0x40c54000)
>         libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40c65000)
>         libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40c73000)
>         libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x40d51000)
>         libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x40d5b000)
>         libpthread.so.0 => /lib/libpthread.so.0 (0x40d72000)
>         libXrender.so.1 => /usr/X11R6/lib/libXrender.so.1 (0x40d83000)
>         libstdc++.so.6 =>
> /usr/lib/gcc/i686-pc-linux-gnu/3.4.1/libstdc++.so.6 (0x40d8b000)
>         libm.so.6 => /lib/libm.so.6 (0x40e5d000)
>         libc.so.6 => /lib/libc.so.6 (0x40e7f000)
>         libgcc_s.so.1 => /usr/lib/gcc/i686-pc-linux-gnu/3.4.1/libgcc_s.so.1
> (0x40f91000)
>         libstdc++.so.5
> => /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/libstdc++.so.5 (0x40f9a000)
>         /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
>
> for some reason qinx.so was linked against libstdc++.so.6 and
> libstdc++.so.5

if you emerge your package of interest directly after you've switched the gcc 
profile, you have to source the /etc/profile before, as well.

I remember, this was mentioned in the emerge process somewhere.

trapni.

--
gentoo-user@gentoo.org mailing list

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic