Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gcc-Update für -march=core2?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) Diskussionsforum
View previous topic :: View next topic  
Author Message
herwig
n00b
n00b


Joined: 03 Apr 2007
Posts: 55
Location: /home/herwig

PostPosted: Wed Jul 23, 2008 6:30 am    Post subject: gcc-Update für -march=core2? Reply with quote

Hallo,

Ich habe mir vor kurzem einen Intel Q6600 zugelegt und wollte den natürlich auf mein Gentoo loslassen. Mittlerweile tut der auch ganz gut damit.

In Verwendung ist der gcc-4.1.2, in der make.conf steht ein -march=nocona. Lohnt sich stattdessen für -march=core2 ein gcc-Update auf 4.3.0? Oder wäre vielleicht sogar -march=native (dann natürlich ohne gcc-Update) eine bessere Wahl?

Worauf muss ich im Fall eines Updates besonders achten? Die Gentoo GCC-Aktualisierungsanleitung habe ich mir natürlich schon durchgelesen.
Back to top
View user's profile Send private message
schachti
Advocate
Advocate


Joined: 28 Jul 2003
Posts: 3765
Location: Gifhorn, Germany

PostPosted: Wed Jul 23, 2008 6:33 am    Post subject: Re: gcc-Update für -march=core2? Reply with quote

herwig wrote:
Oder wäre vielleicht sogar -march=native (dann natürlich ohne gcc-Update) eine bessere Wahl?


Dann ist ein Update des gcc nötig, da es das Target native AFAIK erst seit gcc 4.2 gibt.
_________________
Never argue with an idiot. He brings you down to his level, then beats you with experience.

How-To: Daten verschlüsselt auf DVD speichern.
Back to top
View user's profile Send private message
astaecker
Guru
Guru


Joined: 28 Apr 2003
Posts: 403
Location: Hamburg / Germany

PostPosted: Wed Jul 23, 2008 7:01 am    Post subject: Re: gcc-Update für -march=core2? Reply with quote

herwig wrote:
In Verwendung ist der gcc-4.1.2, in der make.conf steht ein -march=nocona. Lohnt sich stattdessen für -march=core2 ein gcc-Update auf 4.3.0?

Auf meinem Core 2 Duo T7300 (32bit) hat das zu keiner merkbaren Verbesserung geführt.
Back to top
View user's profile Send private message
hoschi
Advocate
Advocate


Joined: 19 Jul 2003
Posts: 2517
Location: Ulm, Germany, Europe

PostPosted: Thu Jul 24, 2008 7:48 am    Post subject: Reply with quote

Core2-Optimierung gibt es erst mit GCC/STDLIBC++ ab Version 4.3 was derzeit in Portage als Testing markiert ist, aber soweit ganz gut funkioniert. Viel schneller werden die Binarys dadurch natuerlich nicht, nur bei extra optimierten Spezialanwendung (ffmpeg, mencoder, mplayer, 3d modeller usw.) sollte es vielleicht spuerbare Effekte geben.

Target ist auch nur eine Variable, die dann den fuer die CPU hinterlegten march-Wert automatisch setzt. Wuerde ich lieber per Hand setzen, weil es keine Vorteile bringt und hoechsten Probleme mit nicht erkannten CPUs gibt. Ist eher fuer Distris selbst interessant, weil man dann nichts vorbelegen muss.
_________________
Just you and me strogg!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) Diskussionsforum 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