Ecco una parte del file config.log
lo strano è che l'eseguibile a.exe non viene creato da kdevelop. Se però eseguoCodice PHP:configure:2534: /usr/bin/i586-mingw32msvc-c++ -V >&5
i586-mingw32msvc-c++: `-V' option must have argument
configure:2537: $? = 1
configure:2560: checking for C++ compiler default output file name
configure:2587: /usr/bin/i586-mingw32msvc-c++ -O0 -g3 conftest.cpp >&5
configure:2590: $? = 0
configure:2628: result: a.exe
configure:2645: checking whether the C++ compiler works
configure:2655: ./a.exe
/home/denis/C++/prova4/configure: line 2656: ./a.exe: cannot execute binary file
configure:2658: $? = 126
configure:2667: error: cannot run C++ compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
ecco che ora l'eseguibile a.exe viene generato.Codice PHP:i586-mingw32msvc-g++ prova4.cpp

Rispondi quotando