I read this topic (http://forums.codeblocks.org/index.php/topic,3343.0.html) for setting up the mingw cross compiler with codeblocks on linux.
I would like to do something similar with winelib / winegcc wrapper.
Can I just replace -586-mingw- with wine in the following? C compiler: i586-mingw32msvc-gcc
C++ compiler: i586-mingw32msvc-g++
Linker for dynamic libs: i586-mingw32msvc-g++
Linker for static libs: i586-mingw32msvc-ar
There doesn't appear to be a wine-ar application.
Also, can I just change the winelib and wineinclude paths?
do i need linker options?
Are there common differences in library headers that i should keep in mind?
I have a windows app cross compiling with mingw. Would like to transition to a winelib app on my way to a native linux port.
Thanks.