Une question qui me taraude : l'option -march=native est-elle efficiente sous mingw (gcc 4.4.0) ? Comment connaître celle qui à été choisi, notamment dans le cas d'un windows 32bit avec un x86_64 ?
Une question qui me taraude : l'option -march=native est-elle efficiente sous mingw (gcc 4.4.0) ? Comment connaître celle qui à été choisi, notamment dans le cas d'un windows 32bit avec un x86_64 ?
The mark of the immature man is that he wants to die nobly for a cause, while the mark of the mature man is that he wants to live humbly for one.
--Wilhelm Stekel
tu peux faire afficher les choix effectués par gcc :
gcc -v -c file.c
Il t'affiche la ligne de commande des sous processus. Tu n'as plus qu'à chercher -march ou -mtune ou tout autre paramètre.
Une autre commande que j'aime bien pour afficher le nom complet des fichiers inclus (je sais cela n'a rien à voir avec ta question)
gcc -H -c file.c
Thanks![]()
The mark of the immature man is that he wants to die nobly for a cause, while the mark of the mature man is that he wants to live humbly for one.
--Wilhelm Stekel
Vous avez un bloqueur de publicités installé.
Le Club Developpez.com n'affiche que des publicités IT, discrètes et non intrusives.
Afin que nous puissions continuer à vous fournir gratuitement du contenu de qualité, merci de nous soutenir en désactivant votre bloqueur de publicités sur Developpez.com.
Partager