Mail Archives: djgpp/2000/01/11/09:58:30
pavenis AT lanet DOT lv wrote in message ...
On 10 Jan 00, at 11:05, Chris Underwood wrote:
> F:\Utilities\DjGPP\sw\libamp>make
>
gcc -c -O6 -ffast-math -fomit-frame-pointer -m486 -DNO_BYTE_SWAPPING -DOS_MS
> DOS
> -DARCH_i586 audioalg.c
> audioalg.c: In function `audioBufferWrite':
> audioalg.c:373: Invalid `asm' statement:
> audioalg.c:373: fixed or forbidden register 2 (cx) was spilled for class
> CREG.
http://gcc.gnu.org/faq.html#asmclobber
The FAQ neatly explains what's wrong, but not how to fix it without learning
assembly. Is there a patched audioalg.c file for DOS, or some other fix?
Cheers,
Chris
- Raw text -