Re: [AD] i386 flag

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On 2009-03-14, Milan Mimica <milan.mimica@xxxxxxxxxx> wrote:
> I get this error when compiling with -march=i386 flag:
> 
> 
> CMakeFiles/demo.dir/src/BitmapResource.cpp.o: In function 
> `BitmapResource::BitmapResource(char const*)':
> BitmapResource.cpp:(.text+0x14d): undefined reference to `__sync_fetch_and_add_4'

We don't need to support 386s, do we?  I think it should work with -march=i486.

I can't reproduce it though.  It's weird; the atomic ops aren't even
called any more.  We can just delete aintern_atomicops.h (or #if 0 it
out) if you think that would be better.

Peter





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/