SDL_image + Mingw32 compilation problem

Hello all,

I’m having problems running the configure script for SDL_image-1.0.10. It
can’t seem to find ld. I’ve compiled zlib, libpng, and libjpeg without
problems. Here’s the output:

SH.EXE-2.02$ ./configure
creating cache ./config.cache
checking for a BSD compatible install… ./install-sh -c
checking whether build environment is sane… yes
checking whether make sets ${MAKE}… yes
checking for working aclocal… missing
checking for working autoconf… missing
checking for working automake… missing
checking for working autoheader… missing
checking for working makeinfo… missing
checking host system type… i586-pc-cygwin
checking target system type… i586-pc-cygwin
checking build system type… i586-pc-cygwin
checking for ranlib… ranlib
checking for gcc… gcc
checking whether the C compiler (gcc ) works… yes
checking whether the C compiler (gcc ) is a cross-compiler… no
checking whether we are using GNU C… yes
checking whether gcc accepts -g… yes
checking for ld used by GCC… no
configure: error: no acceptable ld found in $PATH
SH.EXE-2.02$ echo $PATH
/gcc-2.95.2/i386-mingw32msvc/lib:/gcc-2.95.2/i386-mingw32msvc/bin:/gcc-2.95.
2/bin

ld.exe is in /gcc-2.95.2/bin, which is in $PATH
I’ve tried adding --with-gnu-ld, but that doesn’t work either.
Any ideas? Am I doing something wrong or is this a bug in the configure
script?—
Michael Spratt

Try setting the LD environment variable, like this:
LD=ld.exe ./configure

It’s worked for me before, but YMMV–
Ian Pitcher (0.33333333333 of Technician)
<@Ian_Pitcher>
http://www.technician.org/
“Soon it will work everywhere !” - Konstantin Raudive, via. clock radio

Hey thanks. That took care of it.> ----- Original Message -----

From: ipitcher@technician.org (Ian Pitcher)
To:
Sent: Thursday, November 02, 2000 4:02 PM
Subject: [SDL] Re: SDL_image + Mingw32 compilation problem

Try setting the LD environment variable, like this:
LD=ld.exe ./configure

It’s worked for me before, but YMMV

Ian Pitcher (0.33333333333 of Technician)

http://www.technician.org/
“Soon it will work everywhere !” - Konstantin Raudive, via. clock radio