Did you setup the "Linker Settings" in the "Build Options" for your cross-target correctly ?
There should be something like:`wx-config --host=i586-mingw32msvc --static --libs`
If yes , can you please turn on full commandline logging and post the output of the Build Log.
To turn it on, go to "Settings -> Compiler and Debugger... -> [your cross-compiler] -> Other settings (the rightmost tab) -> Compiler Logging" and switch it to "Full command line".
Thanks for the answer.
Now I removed your packages and removed and reinstalled mingw32 and did the following from scratch:
(btw, now I have a totally different problem than yesterday :) )
I have the wxWidgets 2.8 sources and configured it with:
./configure --prefix=/usr/i586-mingw32msvc --host=i586-mingw32msvc --disable-shared --enable-unicode --enable-release --build=x86_64-linux --enable-monolithic
then I did make and sudo make install
I configured a new Compiler in CodeBlocks like described int the Wiki (http://wiki.codeblocks.org/index.php?title=Cross_Compiling_wxWidgets_Applications_on_Linux)
Created a new Build also like described in the Wiki with only some changes:
other linker options: `wx-config --prefix=/usr/i586-mingw32msvc --libs --host=i586-mingw32msvc --static --unicode --release`
other compiler options: `wx-config --prefix=/usr/i586-mingw32msvc --cflags --host=i586-mingw32msvc --unicode --release --static`
Now I get this error,
-------------- Build: WinRelease in crossteset ---------------
i586-mingw32msvc-g++ -Wall -O2 2.8 -I/usr/i586-mingw32msvc/lib/wx/include/i586-mingw32msvc-msw-unicode-release-static-2.8 -I/usr/i586-mingw32msvc/include/wx-2.8 -D__WXMSW__ -mthreads -I/usr/i586-mingw32msvc/include/ -c /home/jahn/Projects/crossteset/crosstesetApp.cpp -o obj/WinRelease/crosstesetApp.o
i586-mingw32msvc-g++ -Wall -O2 2.8 -I/usr/i586-mingw32msvc/lib/wx/include/i586-mingw32msvc-msw-unicode-release-static-2.8 -I/usr/i586-mingw32msvc/include/wx-2.8 -D__WXMSW__ -mthreads -I/usr/i586-mingw32msvc/include/ -c /home/jahn/Projects/crossteset/crosstesetMain.cpp -o obj/WinRelease/crosstesetMain.o
i586-mingw32msvc-g++: 2.8: No such file or directory
i586-mingw32msvc-g++: 2.8: No such file or directory
it seems that the command ist not build right, there is no file such as 2.8
but I really don't know where this might come from
I would appreciate any help on this.