Bonjour,

Je viens d'installer MinGW sur mon disque D:\ et j'ai bien ajouter le répertoire bin dans le Path.
La commande gcc --version est bien reconnue mais je n'arrive pas à compiler un simple HelloWorld.

C:\TestMinGW>set Path
Path=D:\ProgramFiles\MinGW\bin;C:\Windows\system32;C:\Windows;C:\Windows\System3
2\Wbem;C:\Program Files\CMake 2.8\bin;C:\Program Files\Java\jre6\bin

C:\TestMinGW>gcc --version
gcc (GCC) 4.8.1
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

C:\TestMinGW>gcc HelloWorld.c
gcc: error: CreateProcess: No such file or directory

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
 
#include <stdio.h>
 
int main() {
    printf("Hello, world!\n");
    return 0;
}
Est-ce que j'ai oublié une étape dans l'installation et la configuration ?!

Merci