[SDL] Compiling libsd-1.2.12 (SVN) on Solaris 10/x86 (64-bit)

Coleman Kane ckane at intellitree.com
Wed May 16 08:26:53 PDT 2007


On Wed, 2007-05-16 at 14:54 +0000, Ben Taylor wrote:
> This is my first time building on a 64-bit x86-64 platform, so I apologize if my
> question seems a bit uninformed (A friend is giving me access to his system
> to test some other code for 64-bit, and I need libsdl).
> 
> I can configure and compile libsdl.  However, in the link phase, I get an
> error on the objects in src/hermes, because nasm is buildling them as
> 32-bit ELF and not 64-bit ELF.  I've googled and gmane-d and can't seem
> to find any hints.  I can see that some folks (SuSE, Fedora, Gentoo) have
> 64-bit ports working, so getting this working doesn't sound terribly difficult.
> 
> Anyone have some thoughts?  Are there some flags I need to pass to nasm
> to generate 64-bit objects, or do I need to disable the hermes asm?
> 
> Thanks,
> 
> Ben

You'll need to disable that stuff. None of it applies to the AMD64
architecture as the source files specifically say that they are 32-bit
code. In addition, MMX and 3DNow! are not supported on AMD64 (64-bit
long mode). All of their functionality has been superseded by the stuff
in SSE1,2,3.

I think --disable-nasm to the configure script will do it.

--
Coleman Kane 



More information about the SDL mailing list