problem when compiling sdl

Dennis Veatch dveatch at woh.rr.com
Mon Sep 26 10:40:13 UTC 2005


On Monday 26 September 2005 06:29 am, Edd Budulea wrote:
> when compile SDL module, use -o1 not -o2 or -o3, if
> -o2 or -o3 is used the gcc3.4.4 will give an error on
> an asm section that uses mmx something about
> GENERAL_REGISTERS not define.
>


I suspect you may have another issue causing this. On my system using

 CFLAGS="-O2 -mtune=athlon -march=athlon -mmmx -msse -msse2 -m3dnow 
-mfpmath=sse,387"

works just fine and I see no errors about asm or mmx in the compile log. 
Perhaps try recompiling nasm and running lunar fix.


More information about the Lunar mailing list