Win32 Cross Compile Problems

The cross compiler always segfaults if I try to run it. I am using
debian 2.1.

When I run ./configure --host=i386-linux --target=mingw32
it eventually stops here

checking Win32 compiler… no
configure: error:
*** Your compiler (gcc) does not produce Win32 executables!

Otherwise SDL 1.0 works the same as 0.11.

The cross compiler always segfaults if I try to run it. I am using
debian 2.1.

When I run ./configure --host=i386-linux --target=mingw32
it eventually stops here

i think you need to put the cross-compiler in your PATH variable:
PATH=/usr/local/cross-tools/i386-mingw32/bin:$PATHOn Wed, Nov 24, 1999 at 09:31:56PM -0600, Michael Fletcher wrote:

checking Win32 compiler… no
configure: error:
*** Your compiler (gcc) does not produce Win32 executables!

Otherwise SDL 1.0 works the same as 0.11.


-Michele

The cross compiler always segfaults if I try to run it. I am using
debian 2.1.

Is your system glibc-2.0 or glibc-2.1 based?

What is the output of ls -l /lib/libc* ?

-Sam Lantinga				(slouken at devolution.com)

Lead Programmer, Loki Entertainment Software–
“Any sufficiently advanced bug is indistinguishable from a feature”
– Rich Kulawiec

Sam Lantinga wrote:

Is your system glibc-2.0 or glibc-2.1 based?

$ ls /lib/libc*
/lib/libc-2.0.7.so
/lib/libc.so.6
/lib/libcrypt-2.0.7.so
/lib/libc.so.5
/lib/libcom_err.so.2
/lib/libcrypt.so.1
/lib/libc.so.5.4.46
/lib/libcom_err.so.2.0

Sam Lantinga wrote:

Is your system glibc-2.0 or glibc-2.1 based?

$ ls /lib/libc*
/lib/libc-2.0.7.so
/lib/libc.so.6
/lib/libcrypt-2.0.7.so
/lib/libc.so.5
/lib/libcom_err.so.2
/lib/libcrypt.so.1
/lib/libc.so.5.4.46
/lib/libcom_err.so.2.0

You need to follow the instructions on the cross-compiler page
and build your own compiler - the one on the page is for glibc-2.1
http://www.devolution.com/~slouken/SDL/Xmingw32/

See ya!
-Sam Lantinga (slouken at devolution.com)

Lead Programmer, Loki Entertainment Software–
“Any sufficiently advanced bug is indistinguishable from a feature”
– Rich Kulawiec