[SDL] Compiling libsd-1.2.12 (SVN) on Solaris 10/x86 (64-bit)
Ben Taylor
sol11x86 at comcast.net
Thu May 17 08:55:56 PDT 2007
-------------- Original message ----------------------
From: "Ryan C. Gordon" <icculus at icculus.org>
>
> > Well, given the host system type, it seems that autoconf may not
> > be able to distinguish between a i386 and x86_64 solaris system.
>
> It appears so, but I have no idea how to actually fix that. Any autoconf
> experts here?
Actually, I've had to play with autoconf for wine for Solaris, so I
might be able to figure something out.
One of the things that one of my co-developers has done is
setting up a 32 and 64-bit solaris install for libsdl.
So he used the same prefix, but then overloaded the
bindir and libdir (like --prefix=/usr/gnu --bindir=/usr/gnu/bin/amd64
--libdir=/usr/gnu/lib/amd64) so that the right sdl-config can
be picked up. The only thing I'm wondering about is whether
it is appropriate for the 64-bit version to be adding "-m64" to
the output of "sdl-config ---cflags" and "sdl-config --libs".
It would sure make things simpler. Thoughts?
Ben
More information about the SDL
mailing list