Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Upgrade to gcc 3.4 (can't find post)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
skaven
n00b
n00b


Joined: 22 Jan 2004
Posts: 21
Location: Hiding under your bed

PostPosted: Sun Aug 22, 2004 3:37 pm    Post subject: Upgrade to gcc 3.4 (can't find post) Reply with quote

I know I saw a posting on how to best upgrade an AMD64 system from gcc 3.3 to 3.4 and what CFLAGS to use for best optimization, but I can't find the post anymore. Can anyone either point me to the posting or give a quick explanation?

Thanks
Back to top
View user's profile Send private message
dangertools
Apprentice
Apprentice


Joined: 29 Dec 2003
Posts: 278
Location: Saalfelden, Austria

PostPosted: Sun Aug 22, 2004 3:58 pm    Post subject: Reply with quote

switch your profile (/etc/make.profile, the profiles are in /$PORTDIR/profiles) to an amd64 gcc34, it is somewhere in default-linux.
Add -march=k8 to your CFLAGS, emerge sync, emerge -uD world

Should be all

it should install gcc-3.4 and libstdc++. Everything should work then as before


dangertools
Back to top
View user's profile Send private message
skaven
n00b
n00b


Joined: 22 Jan 2004
Posts: 21
Location: Hiding under your bed

PostPosted: Sun Aug 22, 2004 4:03 pm    Post subject: Reply with quote

I thought there was an "emerge -e" involved somewhere. Of course, when I tried that on an earlier install, ncurses got all bitchy and had to be given the pimp hand.
Back to top
View user's profile Send private message
dangertools
Apprentice
Apprentice


Joined: 29 Dec 2003
Posts: 278
Location: Saalfelden, Austria

PostPosted: Sun Aug 22, 2004 4:39 pm    Post subject: Reply with quote

as i know this is only needed when not installing libstdc++. i have not done emerge -e after switching the profile and everything works still.

perhaps someone else knows more about how to upgrade, in my case i just switched the profile and that was all.

dangertools
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum