Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[RISOLTO] march native
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
k01
Arch/Herd Tester
Arch/Herd Tester


Joined: 13 Feb 2008
Posts: 617
Location: Milano

PostPosted: Mon Feb 21, 2011 11:56 pm    Post subject: [RISOLTO] march native Reply with quote

Quote:
Warning: GCC 4.2 and above support -march=native, which automatically detects the optimum settings to use based on your processor. -march=native also detects and applies additional settings beyond -march specific to your CPU, (eg. -msse4). Unless you have a specific reason not to (e.g. distcc cross-compiling), you should probably be using -march=native rather than anything listed below. Check your native options using gcc -c -Q -march=native --help=target


questa cosa non mi è molto chiara... cioè se io usassi -march=native ho capito che sarebbe perfetto se non fosse che uso proprio distcc e cross-dev, quindi la riga equivalente a -march=native ma in forma esplicita dovrebbe essere -march=prescott (esempio) e in più tutte le voci che risultano "enabled" dando gcc -c -Q -march=native --help=target? così otterrei gli stessi effetti di un -march=native? oppure basterebbe mettere -march=prescott lasciando perdere tutte le altre voci?


Last edited by k01 on Mon Mar 07, 2011 5:40 pm; edited 1 time in total
Back to top
View user's profile Send private message
fbcyborg
Advocate
Advocate


Joined: 16 Oct 2005
Posts: 3056
Location: ROMA

PostPosted: Tue Feb 22, 2011 10:24 am    Post subject: Reply with quote

Ciao,

guarda questa discussione alla quale ho partecipato anche io tempo fa.
Magari nel frattempo può tornarti utile per chiarire le idee.

;)
_________________
[HOWTO] Come criptare la /home usando cryptsetup e luks
[HOWTO] Abilitare il supporto al dom0 XEN su kernel 3.X
Help answer the unanswered
Back to top
View user's profile Send private message
k01
Arch/Herd Tester
Arch/Herd Tester


Joined: 13 Feb 2008
Posts: 617
Location: Milano

PostPosted: Mon Mar 07, 2011 5:39 pm    Post subject: Reply with quote

grazie per il link, avevo letto ma mi ero dimenticato di rispondere XD

in pratica è come pensavo, native passa anche altri parametri oltre al semplixe march specifico ;)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) 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