Gentoo Archives: gentoo-dev

From: Peter Ruskin <aoyu93@×××××××××.com>
To: gentoo-dev@g.o
Subject: Re: [gentoo-dev] Re: Gentoo 1.2 to 1.4 update, HowTo do it and not break everything
Date: Fri, 16 Aug 2002 15:56:43
Message-Id: 200208162156.50383.aoyu93@dsl.pipex.com
In Reply to: Re: [gentoo-dev] Re: Gentoo 1.2 to 1.4 update, HowTo do it and not break everything by Spider
1 On Friday 16 Aug 2002 20:47, Spider wrote:
2 > begin quote
3 > On Fri, 16 Aug 2002 20:37:16 +0100
4 >
5 > Peter Ruskin <aoyu93@×××××××××.com> wrote:
6 > > >
7 > > > okay, debugging time! My favourite behind that glorious moment when
8 > > > all things work ;)
9 > > >
10 > > > run /usr/bin/gcc -v
11 > > > /usr/bin/c++ -v
12 > > >
13 > > > check that both are gcc 3.2 _pre
14 > > >
15 > >
16 > > OK, I followed your excellent tutorial and now I have gcc-3.2. I
17 <snip>
18 > >
19 > > But I still have c++ at 2.95 - how can I change that?
20 > >
21 > > # /usr/bin/gcc -v
22 > > Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2/specs
23 > > Configured with: /var/tmp/portage/gcc-3.2/work/gcc-3.2/configure
24 > > --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info
25 > > --enable-shared --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu
26 > > --target=i686-pc-linux-gnu --with-system-zlib --enable-languages=c
27 > > --enable-threads=posix --enable-long-long --disable-checking
28 > > --enable-cstdio=stdio --enable-clocale=generic --enable-__cxa_atexit
29 > > --enable-version-specific-runtime-libs
30 > > --with-gxx-include-dir=/usr/include/g++-v32
31 > > --with-local-prefix=/usr/local --disable-nls
32 > > Thread model: posix
33 > > gcc version 3.2
34 > >
35 > > # /usr/bin/c++ -v
36 > > Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/specs
37 > > gcc version 2.95.3 20010315 (release)
38 >
39 > As expected... You installed the gcc 3.2 USE="build" binary on top of
40 > gcc 2.95.3
41 >
42 > emerge gcc ;
43 > , will fix it, since gcc -v has the "right" version you dont
44 > need to fool it for anything to get a correct c++ version.
45 >
46 > After the emerge you'll have a c++ -v as "3.2" as well
47 >
48 > //Spider
49
50 Correct! Many thanks.
51 --
52 Gentoo Linux (portage-2.0.27). KDE: 3.0.2 Qt: 3.0.5.
53 AMD Athlon(tm) XP 1600+ 513MB. Kernel: 2.4.19-win4lin
54 Linux user #275590 (http://counter.li.org/). up 2 days, 9:36.
55 #=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=#