Re: [AD] x color conversion again

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


On Tue, 2004-07-27 at 16:02 +0200, Eric Botcazou wrote:

> Ok, very likely too old gas version.
> 

Yes, it says 2.11.2. I should try to update my BeOS tools.. not sure
where to look for updates though, most BeOS related sites seem down by
now. I wonder if we should drop BeOS support, it's much less used even
than DOS :|

> > What should we do? I guess we could just require new enough tools, and
> > ignore it for now. I highly doubt anyone will be trying to use 4.1.15 on
> > BeOS. So we can postpone this for now.
> 
> A solution could be to conditionally define the macro for BeOS to:
> 
> #define SLOTS_TO_BYTES(n) (n*4)
> 
> This would require src/i386/asmdef.c to propagate the ALLEGRO_BEOS define.
> 
> 
> Now the problem may occur on other platforms (e.g. QNX) with old gas
> versions.  It doesn't with gas 2.13 for DJGPP or gas 2.12.90 for MinGW, but
> the build instructions for DJGPP only require binutils 2.9.x for example.
> So let's simply not overalign the stack pointer for now, this has worked
> so far.  Patch attached.
> 

Thanks. With that patch, it works again.

-- 
Elias Pschernig





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