Bonjour, avant tout voilà ma configuration : windows vista, j'ai mingw dernière version et je compile à la main.

Mon code est un simple hello world (c'est pour un test) :

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
 
#include <stdio.h>
#include <stdlib.h>
int main(int argc, char *argv[])
{
printf("Hello World");
return 0;
}
Quand je compile j'ai :

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
/mingw/lib/crt2.o(.text+0x16a):crt1.c: undefined reference to `__cpu_features_init'
 
collect2: ld returned 1 exit status
 
c:\SamSoft_DEV\bin\mingw32-make: *** [test.exe] Error 1
Merci d'avance Chez des amis ca fonctionne et sur mon autre pc xp ca ne fonctionne pas