Re: [AD] blit() ALLEGRO_NO_ASM crash |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On 2006-10-26, Daniel Schlyder <daniel@xxxxxxxxxx> wrote:
> The attached program crashes in the call to blit() when linked to a
> version of Allegro compiled with ALLEGRO_USE_C defined.
>
> I'm using Allegro SVN HEAD and MinGW GCC 3.4.5, and compiled the lib using
>
> make STATICLINK=1 ALLEGRO_USE_C=1 TARGET_ARCH_EXCL=i586 all
>
> If I compile a statically linked version using the assembler code, I get
> no crash.
The bank switching routines still expect the asm calling convention even
if ALLEGRO_NO_ASM is defined, i.e. ALLEGRO_NO_ASM isn't supported on
Windows. Patches welcome, especially since we'll need it for 4.3.
Peter