Cross-compiling problem

Hi there,

I just ran into a funny problem with the mingw32 cross-compiler while
making Win32 executables just now.

Some code that works unter Linux (and used to work under Windows in a
smaller, older version) now doesn’t start under Windows. The error
message is “Unable to run XXX.exe.” and “Windows cannot run this program
because it is in an invalid format”.

I am using the ming32 distro from the SDL site and WinME.

Any ideas on how to solve this?

| Andreas Schiffler aschiffler at |
| Senior Systems Engineer - Deskplayer Inc., Buffalo |
| 4707 Eastwood Cres., Niagara Falls, Ont L2E 1B4, Canada |
| +1-905-371-3652 (private) - +1-905-371-8834 (work/fax) |