That means the toolchain for the compiler you have chosen for your project is incorrect.
Make sure you chose the correct compilername for the target you want to cross-compile.
Check the text box containing the compilers installation directory (master-path), the bin-part should
not be included.
ATTENTION:If you use the MinGW installed via synaptic the master-path most likely differs from the one in the wiki article.
The cross compilers (at least on debian-based systems) are installed in
/usr/bin, only the libs and includes are in
/usr/i586-mingw32msvc/.
(See also this article:
http://wiki.codeblocks.org/index.php?title=Cross_Compiling_wxWidgets_Applications_on_Linux#Preparing_Code::Blocks .
Check the naming of your executables.
Try to call them from commandline:
<master-path>/bin/<C++-compiler> -v
in my case (for c++-compiler):
jens@debian-inspiron:~$ /usr/bin/i586-mingw32msvc-g++ -v
Using built-in specs.
Target: i586-mingw32msvc
Configured with: /home/ron/devel/debian/mingw32/mingw32-4.2.1.dfsg/build_dir/src/gcc-4.2.1-2-dfsg/configure -v --prefix=/usr --target=i586-mingw32msvc --enable-languages=c,c++ --enable-threads --enable-sjlj-exceptions --disable-multilib --enable-version-specific-runtime-libs
Thread model: win32
gcc version 4.2.1-sjlj (mingw32-2)