Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cflags
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)
View previous topic :: View next topic  
Author Message
flammenflitzer
Advocate
Advocate


Joined: 25 Nov 2003
Posts: 3488
Location: Berlin

PostPosted: Fri Jan 13, 2006 8:24 am    Post subject: Cflags Reply with quote

Hallo
Ich hatte bis jetzt
Code:
CFLAGS="-march=athlon64 -O2 -pipe"

Ich habe aber gelesen, daß man auch
Code:
CFLAGS="-mtune=k8 -march=athlon64 -O2 -pipe"
benutzten kann. Was bringt das? Und ist das so in Ordnug, oder muß es heißen
Code:
CFLAGS="-mtune=k8 -march=k8
bzw.
Code:
CFLAGS="-mtune=athlon64 -march=athlon64
?

Last edited by flammenflitzer on Fri Jan 13, 2006 1:44 pm; edited 1 time in total
Back to top
View user's profile Send private message
Treborius
Guru
Guru


Joined: 18 Oct 2005
Posts: 585
Location: Berlin

PostPosted: Fri Jan 13, 2006 8:29 am    Post subject: Reply with quote

kannst du machen, bringt aber garnix, da imho mtune nur bei cross-compiling wirkt
wenn du ganz normal mit gentoo arbeitest wird mtune einfach übergangen, bei k8 usw kann ich dir nicht helfen hatte bisher nur ix86'er
Back to top
View user's profile Send private message
flammenflitzer
Advocate
Advocate


Joined: 25 Nov 2003
Posts: 3488
Location: Berlin

PostPosted: Fri Jan 13, 2006 9:14 am    Post subject: Reply with quote

Danke
Wäre noch interessant zu wissen, welcher Unterschied zwischen athlon64 und k8 besteht.
Back to top
View user's profile Send private message
ConiKost
Developer
Developer


Joined: 11 Jan 2005
Posts: 1365

PostPosted: Fri Jan 13, 2006 10:17 am    Post subject: Reply with quote

Meines wissen gibt es keinen ...

k8 = athlon64
Back to top
View user's profile Send private message
Anarcho
Advocate
Advocate


Joined: 06 Jun 2004
Posts: 2970
Location: Germany

PostPosted: Fri Jan 13, 2006 11:06 am    Post subject: Reply with quote

k8 und athlon64 sind die gleichen Flags.
_________________
...it's only Rock'n'Roll, but I like it!
Back to top
View user's profile Send private message
flammenflitzer
Advocate
Advocate


Joined: 25 Nov 2003
Posts: 3488
Location: Berlin

PostPosted: Fri Jan 13, 2006 1:45 pm    Post subject: Reply with quote

Danke
MfG
Back to top
View user's profile Send private message
derflo
Tux's lil' helper
Tux's lil' helper


Joined: 12 Jan 2006
Posts: 77

PostPosted: Fri Jan 13, 2006 2:43 pm    Post subject: Reply with quote

Hallo erstmal

Ist zwar mein erster Post, lese aber schon lange mit.


Quote:
k8 = athlon64


Sicher?

Ich habe einen 32Bit Prozessor der aber als k8 deklariert ist */ Mobile Sempron */
Back to top
View user's profile Send private message
Anarcho
Advocate
Advocate


Joined: 06 Jun 2004
Posts: 2970
Location: Germany

PostPosted: Fri Jan 13, 2006 3:19 pm    Post subject: Reply with quote

Ja.

Aus der manpage von gcc:

Quote:
-mtune=cpu-type
Tune to cpu-type everything applicable about the generated code, except for the ABI and the set of available instructions. The choices for cpu-type are:
[...]
k8, opteron, athlon64, athlon-fx
AMD K8 core based CPUs with x86-64 instruction set support. (This supersets MMX, SSE, SSE2, 3dNOW!, enhanced 3dNOW! and 64-bit instruction set extensions.)

_________________
...it's only Rock'n'Roll, but I like it!
Back to top
View user's profile Send private message
andix
Apprentice
Apprentice


Joined: 10 Jul 2004
Posts: 263
Location: Eisenstadt, Austria

PostPosted: Fri Jan 13, 2006 3:44 pm    Post subject: Reply with quote

Ein -msse3 sollte man so weit ich weiß noch setzten falls der Prozessor das unterstützt. Das tun alle neuen Athlon64/Opteron.
Back to top
View user's profile Send private message
derflo
Tux's lil' helper
Tux's lil' helper


Joined: 12 Jan 2006
Posts: 77

PostPosted: Fri Jan 13, 2006 11:07 pm    Post subject: Reply with quote

@Anarcho

Hm, stimmt, mein Prozzi ist wohl so ein sonderding.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) 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