• # Pour commencer

    Posté par . En réponse au message Compiler pour Windows avec MinGW (résolu). Évalué à 2.

    Je ne connais pas NetBeans. Mais pour commencer et préciser ton avancement, arrives-tu à compiler un programme tout simple hello.c, comme ceci ?

    shell> cat hello.c
    #include <stdio.h>
    int main(int argc, char **argv)
    {
     printf("hello world!\n");
    }
    shell> /usr/bin/i586-mingw32msvc-gcc hello.c -o hello
    shell> wine ./hello
    hello world!
    
    

    (j'ai pas Windows alors je test avec wine)

    Dis-nous si déjà ça, ça marche…