Bonjour,
Je suis nouvel utilisateur d'Eclipse Indigo SR2, sous Windows 7 32 bits et j'aimerais ex�cuter un petit programme en C ou C++ (du style "Hello World").
- J'ai install� la CDT, MinGW, MSYS-1.0.11
- J'ai mis la variable PATH (c: \ MinGW \ bin C: \ MinGW \ 1.0 \ bin C: \ MinGW \ mingw32 \ bin)
- J'ai d�fini cette variable dans Window > Pr�f�rences > C \ C + + > Build > Environnement
- J'ai cr�er un nouveau projet Fichier > Nouveau > C + + Project > executable - Projet > Bonjour tout le monde.
.. ou -> Makefile du projet - projet> HelloWorld Project "
Lors du build, j'obtiens l'erreur suivante :
et si j' ex�cute directement le programme il me donne :syntax error hello_world line 7, external location: c: \ mingw \ mingw32 \ bin \ ld.exe: c: \ mingw \ lib \ gcc \ mingw32 \ 4.6.2 \ crtend.o C / C + + Problem "Erreur affich�e dans la console :launch failed. binary not foundQuelqu'un saurait-il m'indiquer d'o� peut venir le probl�me ?**** Rebuild of configuration Debug for project hello_world ****
**** Internal Builder is used for build ****
g++ -O0 -g3 -Wall -c -fmessage-length=0 -o src\hello_world.o ..\src\hello_world.cpp
g++ -o hello_world.exe src\hello_world.o
c:/mingw/bin/../lib/gcc/mingw32/4.6.2/../../../../mingw32/bin/ld.exe:c:/mingw/bin/../lib/gcc/mingw32/4.6.2/crtend.o: file format not recognized; treating as linker script
c:/mingw/bin/../lib/gcc/mingw32/4.6.2/../../../../mingw32/bin/ld.exe:c:/mingw/bin/../lib/gcc/mingw32/4.6.2/crtend.o:7: syntax error
collect2: ld a retourn� 1 code d'�tat d'ex�cution
Build error occurred, build is stopped
Time consumed: 3240 ms.
Merci d'avance pour votre aide
Partager