Configure'ing SDL in SFU?

I am trying to “configure” SDL 1.2.8 in Win2000 with SFU
(gcc 3.? compiler installed) The shell is ksh.

As far as I know SFU is equivalent to Cygwin to emulate
an Unix environment in Win2000. (Including pthreads)

I get the following :

$ ./configure
checking build system type… i586-pc-interix3
checking host system type… i586-pc-interix3
checking target system type… i586-pc-interix3
checking for a BSD-compatible install… /bin/install -c
checking whether build environment is sane… yes
/dev/fs/C/TEMP/SDL-1.2.8/missing: Unknown --run' option Try/dev/fs/C/TEMP/SDL-1.2.8/missing --help’ for more information
configure: WARNING: `missing’ script is too old or missing
checking for gawk… gawk
checking whether make sets $(MAKE)… yes
checking for style of include used by make… GNU
checking for gcc… gcc
checking for C compiler default output file name… a.out
checking whether the C compiler works… yes
checking whether we are cross compiling… no
checking for suffix of executables…
checking for suffix of object files… o
checking whether we are using the GNU C compiler… yes
checking whether gcc accepts -g… yes
checking for gcc option to accept ANSI C… none needed
checking dependency style of gcc… gcc3
checking for a sed that does not truncate output… /bin/sed
checking for egrep… grep -E
checking for ld used by gcc… /opt/gcc.3.3/i586-pc-interix3/bin/ld
checking if the linker (/opt/gcc.3.3/i586-pc-interix3/bin/ld) is GNU ld… yes
checking for /opt/gcc.3.3/i586-pc-interix3/bin/ld option to reload object files.
… -r
checking for BSD-compatible nm… /bin/nm -B

checking for g77 option to produce PIC… -fPIC
checking if g77 PIC flag -fPIC works… yes
checking if g77 supports -c -o file.o… yes
checking whether the g77 linker (/opt/gcc.3.3/i586-pc-interix3/bin
shared libraries… no
checking dynamic linker characteristics… no
checking how to hardcode library paths into programs… unsupporte
checking whether stripping libraries is possible… yes
checking whether make sets $(MAKE)… (cached) yes
checking for gcc… (cached) gcc
checking whether we are using the GNU C compiler… (cached) yes
checking whether gcc accepts -g… (cached) yes
checking for gcc option to accept ANSI C… (cached) none needed
checking dependency style of gcc… (cached) gcc3
checking for inline… inline
checking for an ANSI C-conforming const… yes
checking whether we are using the GNU C++ compiler… (cached) yes
checking whether g++ accepts -g… (cached) yes
checking dependency style of g++… (cached) gcc3
checking for a BSD-compatible install… /bin/install -c
checking for working alloca.h… yes
checking for alloca… yes
configure: error: Unsupported target: Please add to configure.in

What should I do about the error in last line?

Jean-Pierre

Hello,

I am trying to “configure” SDL 1.2.8 in Win2000 with SFU
(gcc 3.? compiler installed) The shell is ksh.

As far as I know SFU is equivalent to Cygwin to emulate
an Unix environment in Win2000. (Including pthreads)

I get the following :

$ ./configure
checking build system type… i586-pc-interix3
checking host system type… i586-pc-interix3
checking target system type… i586-pc-interix3
[snip]
configure: error: Unsupported target: Please add to configure.in

What should I do about the error in last line?

It looks like --interix3 is an unsupported target for libSDL. If it
is sufficiently closed enough to cygwin/mingw32 then you can try
adding it to configure.in and re-running autogen. So that you don’t
have to search, you can maybe patch with the following:On 4/13/05, Jean-Pierre Dumas wrote:


2409c2409
< --cygwin* | --mingw32*)

--cygwin* | --mingw32* | --interix3)