Gentoo Archives: gentoo-dev

From: Spider <spider@g.o>
To: Peter Ruskin <aoyu93@×××××××××.com>
Cc: 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 14:52:21
Message-Id: 20020816214738.76112d2d.spider@gentoo.org
In Reply to: Re: [gentoo-dev] Re: Gentoo 1.2 to 1.4 update, HowTo do it and not break everything by Peter Ruskin
1 begin quote
2 On Fri, 16 Aug 2002 20:37:16 +0100
3 Peter Ruskin <aoyu93@×××××××××.com> wrote:
4
5 > > > $ "This compiler version is unable to build binaries ..." I must
6 > > > admit - that happened before too.
7 > > >
8 > > > Greets - Andrew
9 > >
10 > > okay, debugging time! My favourite behind that glorious moment when
11 > > all things work ;)
12 > >
13 > > run /usr/bin/gcc -v
14 > > /usr/bin/c++ -v
15 > >
16 > > check that both are gcc 3.2 _pre
17 > >
18 > > make sure that /etc/ld.so.conf has both gcc paths in it
19 > >
20 > >
21 > > look in //var/tmp/portage/imagemagick-*/work/imagemagick*/config.log
22 > > and check the exact compile message / errors.
23 > >
24 > > to have mixed c++ and gcc versions will surely break things. been
25 > > there, done that.
26 > >
27 > OK, I followed your excellent tutorial and now I have gcc-3.2. I have
28 >
29
30
31
32 > But I still have c++ at 2.95 - how can I change that?
33 >
34 > # /usr/bin/gcc -v
35 > Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2/specs
36 > Configured with: /var/tmp/portage/gcc-3.2/work/gcc-3.2/configure
37 > --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info
38 > --enable-shared --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu
39 > --target=i686-pc-linux-gnu --with-system-zlib --enable-languages=c
40 > --enable-threads=posix --enable-long-long --disable-checking
41 > --enable-cstdio=stdio --enable-clocale=generic --enable-__cxa_atexit
42 > --enable-version-specific-runtime-libs
43 > --with-gxx-include-dir=/usr/include/g++-v32
44 > --with-local-prefix=/usr/local --disable-nls
45 > Thread model: posix
46 > gcc version 3.2
47 >
48 > # /usr/bin/c++ -v
49 > Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/specs
50 > gcc version 2.95.3 20010315 (release)
51
52
53 As expected... You installed the gcc 3.2 USE="build" binary on top of
54 gcc 2.95.3
55
56 emerge gcc ;
57 , will fix it, since gcc -v has the "right" version you dont
58 need to fool it for anything to get a correct c++ version.
59
60
61 After the emerge you'll have a c++ -v as "3.2" as well
62
63 //Spider
64
65
66
67 --
68 begin .signature
69 This is a .signature virus! Please copy me into your .signature!
70 See Microsoft KB Article Q265230 for more information.
71 end

Replies

Subject Author
Re: [gentoo-dev] Re: Gentoo 1.2 to 1.4 update, HowTo do it and not break everything Peter Ruskin <aoyu93@×××××××××.com>