Building SDL with CygWin

Hi

I was trying to build SDL with cygwin on winxp. I downloaded SDL source and
did ./configure, no problem. But when I make I get:

Creating library file: .libs/libSDL.dll.a
/usr/lib/gcc-lib/i686-pc-mingw32/3.3.1/…/…/…/…/i686-pc-mingw32/bin/ld:
herme
s/.libs/libhermes.a(mmxp2_32.o): bad reloc address 0x87 in section .text' collect2: ld returned 1 exit status make[2]: *** [libSDL.la] Error 1 make[2]: Leaving directory/cygdrive/c/Downloads/SDL-1.2.7/src’
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/cygdrive/c/Downloads/SDL-1.2.7/src’
make: *** [all-recursive] Error 1

Any ideas? Another question, is SDL source all I need to build or should I
get the cross-compile tools and SDL-devel-1.2.7-mingw32 to? Or are they just
to crosscompile whhen in REAL linux to windowscode? That’s how I understood
it…

Best regards
Daniel Liljeberg

Hello !

This is a well known problem. At the moment LD that comes
with CYGWIN is broken. A workaround is

./configure --disable-nasm

CU> Any ideas? Another question, is SDL source all I need to build or should I

get the cross-compile tools and SDL-devel-1.2.7-mingw32 to? Or are they
just
to crosscompile whhen in REAL linux to windowscode? That’s how I
understood
it…