Bonjour encore,

Code : Sélectionner tout - Visualiser dans une fenêtre à part
gcc -mno-cygwin -Wall -omain.exe main.c hello.c
Produit un exécutable qui fonctionne.
--------------

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
$ make -f makegcc
gcc -c -Iinc src/hello.c   -oobj/hello.obj
gcc -c -Iinc src/main.c   -oobj/main.obj
ld -o exe/hello.exe obj/hello.obj obj/main.obj   -lc
Produit un exécutable qui ne fonctionne pas. Pourquoi ???

Cordialement bouche bée,

JPDaviau