problem when compiling sdl

Steven Michalske hardkrash at lunar-linux.org
Mon Sep 26 18:18:48 UTC 2005


The proper way to correct this is the bad_flags  or BAD_FLAGS  or  
something like that

Steve
On Sep 26, 2005, at 10:56 AM, Zbigniew Luszpinski wrote:

>
>
>> 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.
>>
>
> To compile successfuly SDL I had only to remove -fforce-addr from  
> gcc options.
> I use patched lunar.optimize with own flags and this can be right  
> only for my
> patched, but always healthy, machine.
>
> greets :-),
> Zbigniew 'zbiggy' Luszpinski
> _______________________________________________
> Lunar mailing list
> Lunar at lunar-linux.org
> http://foo-projects.org/mailman/listinfo/lunar
>



More information about the Lunar mailing list