* [gentoo-dev] Gentoo 1.2 to 1.4 update, HowTo do it and not break everything
@ 2002-08-12 19:48 Spider
2002-08-12 20:25 ` Spider
` (2 more replies)
0 siblings, 3 replies; 14+ messages in thread
From: Spider @ 2002-08-12 19:48 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 2059 bytes --]
Wheehey.
time for the preliminary upgrade instructions for all those adventurous
souls that dont want to break everything but only something :)
Overview:
how to update from gcc 2.95.3 to 3.2 without breaking too much
1) build gcc / glibc /binutils / gettext packages to backup with
emerge --buildpkg gcc glibc gettext binutils (all in gcc 2.95.3)
Move theese aside in a place tagged as gcc 2.95.3 .
2) build an replacement gcc systems
change the profile to default-x86-2.0
export USE="-* build"
emerge --buildpkg gcc
emerge --buildpkg binutils gettext texinfo glibc
unset USE
This will now replace your gcc with one without c++ and other such
things.. "oops" gcc is now gcc 3.2.. thats good.
Now, We remove all traces of gcc, *shudder*
emerge -C gcc
and install the binary again:
emerge --usepkg gcc
now, next step... we want a fully working and competent gcc, glibc and
other things:
emerge --buildpkg gcc
emerge --buildpkg binutils gettext texinfo glibc
Lovely, a complete gcc 3.2 system installed! and not a trace of gcc
2.95.3's libstdc++ ... This is the time when you go "oops" and whine a
lot.
or.. is it?
move aside your gcc 3.2 complete binaries, copy in gcc 2.95.3 ones
emerge --usepkg =gcc-2.95.3-r7 (whatever version it was you had
installed)
emerge --usepkg gcc
Now, you've restored gcc 2.95.3's paths and data, and overwritten the
gcc, g++ and others with those of gcc 3.2
check with /usr/bin/gcc -v
it reports gcc 3.2 for me
Now, edit /etc/env.d/05gcc
add :
LDPATH=/usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.3
then run "env-update"
now your old c++ code will work again... everything is normal, until ...
soon..
This is as far as I've come today, my system works, c++ code works,
galeon works, blackbox runs.
Beware though... when you start to mix c++ codes it will probably break
in strange ways. Solution: recompile :)
I hope this helps.....
//Spider
--
begin .signature
This is a .signature virus! Please copy me into your .signature!
See Microsoft KB Article Q265230 for more information.
end
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-dev] Gentoo 1.2 to 1.4 update, HowTo do it and not break everything
2002-08-12 19:48 [gentoo-dev] Gentoo 1.2 to 1.4 update, HowTo do it and not break everything Spider
@ 2002-08-12 20:25 ` Spider
2002-08-13 0:22 ` Todd Heim
2002-08-14 16:00 ` [gentoo-dev] " Spider
2 siblings, 0 replies; 14+ messages in thread
From: Spider @ 2002-08-12 20:25 UTC (permalink / raw
Cc: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 529 bytes --]
begin quote
On Mon, 12 Aug 2002 19:48:14 +0000
Spider <spider@gentoo.org> wrote:
OOPs
big sorry here, this section :
> Now, edit /etc/env.d/05gcc
> add :
> LDPATH=/usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.3
>
> then run "env-update"
should be
edit /etc/env.d/05gcc-old
add :
LDPATH=/usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.3
then run "env-update"
or it will not work
//Spider
--
begin .signature
This is a .signature virus! Please copy me into your .signature!
See Microsoft KB Article Q265230 for more information.
end
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-dev] Gentoo 1.2 to 1.4 update, HowTo do it and not break everything
2002-08-12 19:48 [gentoo-dev] Gentoo 1.2 to 1.4 update, HowTo do it and not break everything Spider
2002-08-12 20:25 ` Spider
@ 2002-08-13 0:22 ` Todd Heim
2002-08-14 1:36 ` Spider
2002-08-14 16:00 ` [gentoo-dev] " Spider
2 siblings, 1 reply; 14+ messages in thread
From: Todd Heim @ 2002-08-13 0:22 UTC (permalink / raw
To: Spider, gentoo-dev
On Monday 12 August 2002 03:48 pm, Spider wrote:
sounds good.. but a few questions first:
> Now, We remove all traces of gcc, *shudder*
> emerge -C gcc
> and install the binary again:
> emerge --usepkg gcc
why unmerge it, then reemerge the same copy?
> move aside your gcc 3.2 complete binaries, copy in gcc 2.95.3 ones
> emerge --usepkg =gcc-2.95.3-r7 (whatever version it was you had installed)
> emerge --usepkg gcc
why emerge 2.95, then 3.2 again?
--
t.heim
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-dev] Gentoo 1.2 to 1.4 update, HowTo do it and not break everything
2002-08-13 0:22 ` Todd Heim
@ 2002-08-14 1:36 ` Spider
2002-08-14 13:48 ` [gentoo-dev] " A.Waschbuesch
0 siblings, 1 reply; 14+ messages in thread
From: Spider @ 2002-08-14 1:36 UTC (permalink / raw
To: heim; +Cc: heim-gentoo, gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 1821 bytes --]
begin quote
On Mon, 12 Aug 2002 20:22:24 -0400
Todd Heim <heim-gentoo@heim.cjb.net> wrote:
> On Monday 12 August 2002 03:48 pm, Spider wrote:
>
> sounds good.. but a few questions first:
>
> > Now, We remove all traces of gcc, *shudder*
> > emerge -C gcc
> > and install the binary again:
> > emerge --usepkg gcc
>
> why unmerge it, then reemerge the same copy?
To make sure that we wipe all traces of the old gcc when we build the
new "clean" and fully functional version.
the "USE="build" stuff makes sure that /usr/bin/gcc is overwritten, but
doesnt create c++ things, this will make sure that you have an
"uncontaminated" system which only runs gcc 3.2 when you build the final
gcc, glibc binutils and other things.
> > move aside your gcc 3.2 complete binaries, copy in gcc 2.95.3 ones
> > emerge --usepkg =gcc-2.95.3-r7 (whatever version it was you had
> > installed) emerge --usepkg gcc
>
> why emerge 2.95, then 3.2 again?
This is because the old gcc 2.95.3 package had its own /usr/bin/gcc
which you -dont- want right now, you want to simply overwrite the "gcc"
binary with the new one from gcc 3.2 (complete build)
I've ran this for a while, and all packages work neatly, including big
bloats like mozilla and galeon that depend on c++
When you rebuild one c++ thing though, you need to rebuild the things
that depend on it as well as to not get colliding libraries.
A tip:
for i in /usr/lib/*.so;
do ldd ${i}|grep "2.95.3" - >/dev/null && qpkg -fv ${i} ;
done
this will list all libraries that depend on c++ from 2.95.3
in my case it was imagemagick, and Mesa from xfree.
then you can scan the binaries, those are more common
//Spider
--
begin .signature
This is a .signature virus! Please copy me into your .signature!
See Microsoft KB Article Q265230 for more information.
end
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* [gentoo-dev] Re: Gentoo 1.2 to 1.4 update, HowTo do it and not break everything
2002-08-14 1:36 ` Spider
@ 2002-08-14 13:48 ` A.Waschbuesch
2002-08-14 15:56 ` Spider
0 siblings, 1 reply; 14+ messages in thread
From: A.Waschbuesch @ 2002-08-14 13:48 UTC (permalink / raw
To: gentoo-dev
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Spider wrote:
> [...]
> A tip:
>
> for i in /usr/lib/*.so;
> do ldd ${i}|grep "2.95.3" - >/dev/null && qpkg -fv ${i} ;
> done
>
Another tip:
s/-fv/-f
- --
Andreas Waschbuesch, GAUniversity KG MA FNZ FK01
eMail: awaschb@gwdg.de
A. Top posters.
Q. What is the most annoying thing on mailing lists?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQE9Wl/P2s5UCjOaQbYRAi/aAJ0RBTkb/okltjCYmcXs8OBsIN033gCgpYbz
BJCwGC2Q1WGvBJisbj12H6U=
=RCty
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-dev] Re: Gentoo 1.2 to 1.4 update, HowTo do it and not break everything
2002-08-14 13:48 ` [gentoo-dev] " A.Waschbuesch
@ 2002-08-14 15:56 ` Spider
2002-08-14 16:46 ` [gentoo-dev] " A.Waschbuesch
0 siblings, 1 reply; 14+ messages in thread
From: Spider @ 2002-08-14 15:56 UTC (permalink / raw
To: A.Waschbuesch; +Cc: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 1009 bytes --]
begin quote
On Wed, 14 Aug 2002 15:48:55 +0200
"A.Waschbuesch" <awaschb@gwdg.de> wrote:
> > do ldd ${i}|grep "2.95.3" - >/dev/null && qpkg -fv ${i} ;
>
> Another tip:
>
> s/-fv/-f
>
Actually the user will want to know all versions, consider two different
SLOT.. then you get to know that the package foo++ has linked c++ code,
but not if its 1.0.55 or 2.1.91, that both nicely coexist and have
different library dependencies.. since I'm in that position myself with
some things (glade-- gnomemm gtkmm) I prefer to know the exact
versions, and then I can take the time to clean out old stuff that are
caught with the SLOT updates while I'm still at it. Makes my whole
system a bit cleaner.
here we count on our users to have SLOT unset in their early system
installs, and thus are likely to have multiple versions or the same -r
due to this.
//Spider
--
begin .signature
This is a .signature virus! Please copy me into your .signature!
See Microsoft KB Article Q265230 for more information.
end
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-dev] Gentoo 1.2 to 1.4 update, HowTo do it and not break everything
2002-08-12 19:48 [gentoo-dev] Gentoo 1.2 to 1.4 update, HowTo do it and not break everything Spider
2002-08-12 20:25 ` Spider
2002-08-13 0:22 ` Todd Heim
@ 2002-08-14 16:00 ` Spider
2002-08-14 16:48 ` [gentoo-dev] " A.Waschbuesch
2 siblings, 1 reply; 14+ messages in thread
From: Spider @ 2002-08-14 16:00 UTC (permalink / raw
To: Spider; +Cc: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 773 bytes --]
I think we can / should be able to cut the procedure down :
original profile:
emerge --buildpkg gcc glibc binutils
move aside
change profile
export USE="-* build"
emerge gcc texinfo binutils gettext
unset USE
emerge --buildpkg glibc texinfo gettext binutils gcc
Now, the original USE="build" gcc replaced /usr/bin/gcc, and this second
"emerge gcc" then doesn't realize theres a different version of gcc
there, and overwrites gcc, c++ and all.. Neato. no more emerge -C gcc
anywhere.
After this, re-add the /etc/env.d/05gcc-old with the gcc 2.95.3 path,
run env-update and test by launching... mozilla?
//Spider
--
begin .signature
This is a .signature virus! Please copy me into your .signature!
See Microsoft KB Article Q265230 for more information.
end
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* [gentoo-dev] Re: Re: Gentoo 1.2 to 1.4 update, HowTo do it and not break everything
2002-08-14 15:56 ` Spider
@ 2002-08-14 16:46 ` A.Waschbuesch
2002-08-14 17:00 ` Spider
0 siblings, 1 reply; 14+ messages in thread
From: A.Waschbuesch @ 2002-08-14 16:46 UTC (permalink / raw
To: gentoo-dev
Spider wrote:
> begin quote
> On Wed, 14 Aug 2002 15:48:55 +0200
> "A.Waschbuesch" <awaschb@gwdg.de> wrote:
>
>> > do ldd ${i}|grep "2.95.3" - >/dev/null && qpkg -fv ${i} ;
>>
>> Another tip:
>>
>> s/-fv/-f
>>
>
> [...]
>
> here we count on our users to have SLOT unset in their early system
> installs, and thus are likely to have multiple versions or the same -r
> due to this.
OK. Then: s/-fv/-f -v/
It's just that Your above suggested switch won't work (over here, that
is) ...
--
Andreas Waschbuesch, GAUniversity KG MA FNZ FK01
eMail: awaschb@gwdg.de
Rules for Writers:
Avoid run-on sentences they are hard to read. Don't use no double
negatives. Use the semicolon properly, always use it where it is
appropriate; and never where it isn't. Reserve the apostrophe for it's
proper use and omit it when its not needed. No sentence fragments.
Avoid commas, that are unnecessary. Eschew dialect, irregardless. And
don't start a sentence with a conjunction. Hyphenate between
sy-llables and avoid un-necessary hyphens.
Write all adverbial forms correct. Don't use contractions in formal
writing. Writing carefully, dangling participles must be avoided. It
is incumbent on us to avoid archaisms. Steer clear of incorrect forms
of verbs that have snuck in the language. Never, ever use repetitive
redundancies. If I've told you once, I've told you a thousand times,
resist hyperbole. Also, avoid awkward or affected alliteration. Don't
string too many prepositiona phrases together unless you are walking
through the valley of the shadow of death. "Avoid overuse of
'quotation "marks."'"
^ permalink raw reply [flat|nested] 14+ messages in thread
* [gentoo-dev] Re: Gentoo 1.2 to 1.4 update, HowTo do it and not break everything
2002-08-14 16:00 ` [gentoo-dev] " Spider
@ 2002-08-14 16:48 ` A.Waschbuesch
2002-08-14 17:03 ` Spider
0 siblings, 1 reply; 14+ messages in thread
From: A.Waschbuesch @ 2002-08-14 16:48 UTC (permalink / raw
To: gentoo-dev
Spider wrote:
> [...]
> original profile:
>
> emerge --buildpkg gcc glibc binutils
> move aside
>
> change profile
> export USE="-* build"
> emerge gcc texinfo binutils gettext
>
> unset USE
> emerge --buildpkg glibc texinfo gettext binutils gcc
>
Did that over here.
> [...]
>
> After this, re-add the /etc/env.d/05gcc-old with the gcc 2.95.3 path,
> run env-update and test by launching... mozilla?
>
Tried just
$ emerge imagemagick
and got
$ "This compiler version is unable to build binaries ..." I must admit -
that happened before too.
Greets - Andrew
--
Andreas Waschbuesch, GAUniversity KG MA FNZ FK01
eMail: awaschb@gwdg.de
Rules for Writers:
Avoid run-on sentences they are hard to read. Don't use no double
negatives. Use the semicolon properly, always use it where it is
appropriate;
and never where it isn't. Reserve the apostrophe for it's proper use
and
omit it when its not needed. No sentence fragments. Avoid commas, that
are
unnecessary. Eschew dialect, irregardless. And don't start a sentence
with
a conjunction. Hyphenate between sy-llables and avoid un-necessary
hyphens.
Write all adverbial forms correct. Don't use contractions in formal
writing.
Writing carefully, dangling participles must be avoided. It is
incumbent on
us to avoid archaisms. Steer clear of incorrect forms of verbs that
have
snuck in the language. Never, ever use repetitive redundancies. If
I've
told you once, I've told you a thousand times, resist hyperbole. Also,
avoid awkward or affected alliteration. Don't string too many
prepositional
phrases together unless you are walking through the valley of the shadow
of
death. "Avoid overuse of 'quotation "marks."'"
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-dev] Re: Re: Gentoo 1.2 to 1.4 update, HowTo do it and not break everything
2002-08-14 16:46 ` [gentoo-dev] " A.Waschbuesch
@ 2002-08-14 17:00 ` Spider
0 siblings, 0 replies; 14+ messages in thread
From: Spider @ 2002-08-14 17:00 UTC (permalink / raw
To: A.Waschbuesch; +Cc: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 869 bytes --]
begin quote
On Wed, 14 Aug 2002 16:46:06 +0000
"A.Waschbuesch" <awaschb@gwdg.de> wrote:
> Spider wrote:
>
> > begin quote
> > On Wed, 14 Aug 2002 15:48:55 +0200
> > "A.Waschbuesch" <awaschb@gwdg.de> wrote:
> >
> >> > do ldd ${i}|grep "2.95.3" - >/dev/null && qpkg -fv ${i} ;
> >>
> >> Another tip:
> >>
> >> s/-fv/-f
> >>
> >
> > [...]
> >
> > here we count on our users to have SLOT unset in their early system
> > installs, and thus are likely to have multiple versions or the same
> > -r due to this.
>
> OK. Then: s/-fv/-f -v/
>
> It's just that Your above suggested switch won't work (over here, that
>
> is) ...
Ah, thats correct, it needs to be -f -v (I'm too used to GNU syntax it
seems )
//Spider
--
begin .signature
This is a .signature virus! Please copy me into your .signature!
See Microsoft KB Article Q265230 for more information.
end
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-dev] Re: Gentoo 1.2 to 1.4 update, HowTo do it and not break everything
2002-08-14 16:48 ` [gentoo-dev] " A.Waschbuesch
@ 2002-08-14 17:03 ` Spider
2002-08-16 19:37 ` Peter Ruskin
0 siblings, 1 reply; 14+ messages in thread
From: Spider @ 2002-08-14 17:03 UTC (permalink / raw
To: A.Waschbuesch; +Cc: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 852 bytes --]
begin quote
On Wed, 14 Aug 2002 16:48:54 +0000
"A.Waschbuesch" <awaschb@gwdg.de> wrote:
>
> Tried just
>
> $ emerge imagemagick
>
> and got
>
> $ "This compiler version is unable to build binaries ..." I must admit
> - that happened before too.
>
> Greets - Andrew
okay, debugging time! My favourite behind that glorious moment when all
things work ;)
run /usr/bin/gcc -v
/usr/bin/c++ -v
check that both are gcc 3.2 _pre
make sure that /etc/ld.so.conf has both gcc paths in it
look in //var/tmp/portage/imagemagick-*/work/imagemagick*/config.log and
check the exact compile message / errors.
to have mixed c++ and gcc versions will surely break things. been
there, done that.
//Spider
--
begin .signature
This is a .signature virus! Please copy me into your .signature!
See Microsoft KB Article Q265230 for more information.
end
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-dev] Re: Gentoo 1.2 to 1.4 update, HowTo do it and not break everything
2002-08-14 17:03 ` Spider
@ 2002-08-16 19:37 ` Peter Ruskin
2002-08-16 19:47 ` Spider
0 siblings, 1 reply; 14+ messages in thread
From: Peter Ruskin @ 2002-08-16 19:37 UTC (permalink / raw
To: gentoo-dev
On Wednesday 14 Aug 2002 18:03, Spider wrote:
> begin quote
> On Wed, 14 Aug 2002 16:48:54 +0000
>
> "A.Waschbuesch" <awaschb@gwdg.de> wrote:
> > Tried just
> >
> > $ emerge imagemagick
> >
> > and got
> >
> > $ "This compiler version is unable to build binaries ..." I must
> > admit - that happened before too.
> >
> > Greets - Andrew
>
> okay, debugging time! My favourite behind that glorious moment when all
> things work ;)
>
> run /usr/bin/gcc -v
> /usr/bin/c++ -v
>
> check that both are gcc 3.2 _pre
>
> make sure that /etc/ld.so.conf has both gcc paths in it
>
>
> look in //var/tmp/portage/imagemagick-*/work/imagemagick*/config.log
> and check the exact compile message / errors.
>
> to have mixed c++ and gcc versions will surely break things. been
> there, done that.
>
OK, I followed your excellent tutorial and now I have gcc-3.2. I have
to rebuild a bunch of stuff:
xfree, imagemagick, bcast, clanlib, fam-oss, gtkglext, gtkglarea, id3lib,
postgresql, pspell, pspell-ispell, avifile and wxGTK.
I had to comment out the "no-mmx" stuff in xfree's ebuild because that
option wasn't allowed. xfree is building now.
But I still have c++ at 2.95 - how can I change that?
# /usr/bin/gcc -v
Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2/specs
Configured with: /var/tmp/portage/gcc-3.2/work/gcc-3.2/configure
--prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info
--enable-shared --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu
--target=i686-pc-linux-gnu --with-system-zlib --enable-languages=c
--enable-threads=posix --enable-long-long --disable-checking
--enable-cstdio=stdio --enable-clocale=generic --enable-__cxa_atexit
--enable-version-specific-runtime-libs
--with-gxx-include-dir=/usr/include/g++-v32
--with-local-prefix=/usr/local --disable-nls
Thread model: posix
gcc version 3.2
# /usr/bin/c++ -v
Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/specs
gcc version 2.95.3 20010315 (release)
--
Gentoo Linux (portage-2.0.27). KDE: 3.0.2 Qt: 3.0.5.
AMD Athlon(tm) XP 1600+ 513MB. Kernel: 2.4.19-win4lin
Linux user #275590 (http://counter.li.org/). up 2 days, 8:12.
#=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=#
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-dev] Re: Gentoo 1.2 to 1.4 update, HowTo do it and not break everything
2002-08-16 19:37 ` Peter Ruskin
@ 2002-08-16 19:47 ` Spider
2002-08-16 20:56 ` Peter Ruskin
0 siblings, 1 reply; 14+ messages in thread
From: Spider @ 2002-08-16 19:47 UTC (permalink / raw
To: Peter Ruskin; +Cc: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 2090 bytes --]
begin quote
On Fri, 16 Aug 2002 20:37:16 +0100
Peter Ruskin <aoyu93@dsl.pipex.com> wrote:
> > > $ "This compiler version is unable to build binaries ..." I must
> > > admit - that happened before too.
> > >
> > > Greets - Andrew
> >
> > okay, debugging time! My favourite behind that glorious moment when
> > all things work ;)
> >
> > run /usr/bin/gcc -v
> > /usr/bin/c++ -v
> >
> > check that both are gcc 3.2 _pre
> >
> > make sure that /etc/ld.so.conf has both gcc paths in it
> >
> >
> > look in //var/tmp/portage/imagemagick-*/work/imagemagick*/config.log
> > and check the exact compile message / errors.
> >
> > to have mixed c++ and gcc versions will surely break things. been
> > there, done that.
> >
> OK, I followed your excellent tutorial and now I have gcc-3.2. I have
>
> But I still have c++ at 2.95 - how can I change that?
>
> # /usr/bin/gcc -v
> Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2/specs
> Configured with: /var/tmp/portage/gcc-3.2/work/gcc-3.2/configure
> --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info
> --enable-shared --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu
> --target=i686-pc-linux-gnu --with-system-zlib --enable-languages=c
> --enable-threads=posix --enable-long-long --disable-checking
> --enable-cstdio=stdio --enable-clocale=generic --enable-__cxa_atexit
> --enable-version-specific-runtime-libs
> --with-gxx-include-dir=/usr/include/g++-v32
> --with-local-prefix=/usr/local --disable-nls
> Thread model: posix
> gcc version 3.2
>
> # /usr/bin/c++ -v
> Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/specs
> gcc version 2.95.3 20010315 (release)
As expected... You installed the gcc 3.2 USE="build" binary on top of
gcc 2.95.3
emerge gcc ;
, will fix it, since gcc -v has the "right" version you dont
need to fool it for anything to get a correct c++ version.
After the emerge you'll have a c++ -v as "3.2" as well
//Spider
--
begin .signature
This is a .signature virus! Please copy me into your .signature!
See Microsoft KB Article Q265230 for more information.
end
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-dev] Re: Gentoo 1.2 to 1.4 update, HowTo do it and not break everything
2002-08-16 19:47 ` Spider
@ 2002-08-16 20:56 ` Peter Ruskin
0 siblings, 0 replies; 14+ messages in thread
From: Peter Ruskin @ 2002-08-16 20:56 UTC (permalink / raw
To: gentoo-dev
On Friday 16 Aug 2002 20:47, Spider wrote:
> begin quote
> On Fri, 16 Aug 2002 20:37:16 +0100
>
> Peter Ruskin <aoyu93@dsl.pipex.com> wrote:
> > >
> > > okay, debugging time! My favourite behind that glorious moment when
> > > all things work ;)
> > >
> > > run /usr/bin/gcc -v
> > > /usr/bin/c++ -v
> > >
> > > check that both are gcc 3.2 _pre
> > >
> >
> > OK, I followed your excellent tutorial and now I have gcc-3.2. I
<snip>
> >
> > But I still have c++ at 2.95 - how can I change that?
> >
> > # /usr/bin/gcc -v
> > Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2/specs
> > Configured with: /var/tmp/portage/gcc-3.2/work/gcc-3.2/configure
> > --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info
> > --enable-shared --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu
> > --target=i686-pc-linux-gnu --with-system-zlib --enable-languages=c
> > --enable-threads=posix --enable-long-long --disable-checking
> > --enable-cstdio=stdio --enable-clocale=generic --enable-__cxa_atexit
> > --enable-version-specific-runtime-libs
> > --with-gxx-include-dir=/usr/include/g++-v32
> > --with-local-prefix=/usr/local --disable-nls
> > Thread model: posix
> > gcc version 3.2
> >
> > # /usr/bin/c++ -v
> > Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/specs
> > gcc version 2.95.3 20010315 (release)
>
> As expected... You installed the gcc 3.2 USE="build" binary on top of
> gcc 2.95.3
>
> emerge gcc ;
> , will fix it, since gcc -v has the "right" version you dont
> need to fool it for anything to get a correct c++ version.
>
> After the emerge you'll have a c++ -v as "3.2" as well
>
> //Spider
Correct! Many thanks.
--
Gentoo Linux (portage-2.0.27). KDE: 3.0.2 Qt: 3.0.5.
AMD Athlon(tm) XP 1600+ 513MB. Kernel: 2.4.19-win4lin
Linux user #275590 (http://counter.li.org/). up 2 days, 9:36.
#=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=#
^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2002-08-16 20:56 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-08-12 19:48 [gentoo-dev] Gentoo 1.2 to 1.4 update, HowTo do it and not break everything Spider
2002-08-12 20:25 ` Spider
2002-08-13 0:22 ` Todd Heim
2002-08-14 1:36 ` Spider
2002-08-14 13:48 ` [gentoo-dev] " A.Waschbuesch
2002-08-14 15:56 ` Spider
2002-08-14 16:46 ` [gentoo-dev] " A.Waschbuesch
2002-08-14 17:00 ` Spider
2002-08-14 16:00 ` [gentoo-dev] " Spider
2002-08-14 16:48 ` [gentoo-dev] " A.Waschbuesch
2002-08-14 17:03 ` Spider
2002-08-16 19:37 ` Peter Ruskin
2002-08-16 19:47 ` Spider
2002-08-16 20:56 ` Peter Ruskin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox