Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[GCC] Upgrade Athlon XP+ vers Athlon64 X2 et option "-march"
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
SuperDindon
Tux's lil' helper
Tux's lil' helper


Joined: 01 Sep 2005
Posts: 125

PostPosted: Wed Apr 30, 2008 9:39 am    Post subject: [GCC] Upgrade Athlon XP+ vers Athlon64 X2 et option "-m Reply with quote

Salut tout le monde,

Je viens de recevoir du beau matos et m'apprête à remplacer mon ancien CPU, CM, RAM et CG, et je me demandais si avoir passé l'option "-march=athlon-xp" à toutes mes compilations risque de me poser problème, sachant que je passe d'un Athlon XP+ Barton à un Athlon64 X2 BE-2350 ?
Back to top
View user's profile Send private message
Mickael
Advocate
Advocate


Joined: 05 Sep 2005
Posts: 2387
Location: ~Belfort! - France - EU

PostPosted: Wed Apr 30, 2008 10:18 am    Post subject: Reply with quote

avec gcc4.2 et plus tu peux mettre l'option native.

EDIT : tu passes de 32bits à 64 c'est bien ça?
_________________
À LIRE : COMMENT POSTER ET OBTENIR DE L'AIDE ?
Qui suis-je ? Bon j'ai relu, comme d'habitude, je suis bon a rien le vendredi
Qui suis-je ? Je ne serai jamais modo
Back to top
View user's profile Send private message
SuperDindon
Tux's lil' helper
Tux's lil' helper


Joined: 01 Sep 2005
Posts: 125

PostPosted: Wed Apr 30, 2008 10:39 am    Post subject: Reply with quote

Non pas encore en 64bits, tout étant déjà compilé en 32bits. Je prendrais le temps de bien m'informer avant de faire le pas!

Sinon tu as mal compris ma question je pense: jusqu'ici j'ai tout compilé avec l'option "-march=athlon-xp", et ce que je cherche en fait à savoir c'est si mes binaires sont compatibles avec un Athlon X2 (en 32bits) ?
Back to top
View user's profile Send private message
kwenspc
Advocate
Advocate


Joined: 21 Sep 2003
Posts: 4954

PostPosted: Wed Apr 30, 2008 11:39 am    Post subject: Reply with quote

SuperDindon wrote:

Sinon tu as mal compris ma question je pense: jusqu'ici j'ai tout compilé avec l'option "-march=athlon-xp", et ce que je cherche en fait à savoir c'est si mes binaires sont compatibles avec un Athlon X2 (en 32bits) ?

En principe je vois aucune raison à ce que ça ne fonctionne pas. La compatibilité ascendante est maintenu sur les CPU d'un même fondeur donc...
Fin tant que tu restes en 32 bits oui (passer en 64bits, pour ça mieux vaut une réinstall...même si c'est possbiel mais pas top de passer son install 32bits à 64bits)
_________________
membre officieux du SAV Ati GEntoo
Back to top
View user's profile Send private message
Zazbar
Apprentice
Apprentice


Joined: 26 Jul 2005
Posts: 279
Location: Paris Time

PostPosted: Wed Apr 30, 2008 11:51 am    Post subject: Reply with quote

Si tu as l'option -O2 dans tes flags, ca ne devrait pas poser de prob, il me semble que tu gardes la compatibilité ascendante !
_________________
Mieux vaut fermer sa gueule et passer pour un con que l'ouvrir et montrer qu'on l'est. -- P. Dac - Pensées
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French 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