From: "Chris Underwood" Newsgroups: comp.os.msdos.djgpp Subject: Re: Compiling Libamp Date: Tue, 11 Jan 2000 13:42:08 -0000 Organization: Logica UK Ltd. Lines: 24 Message-ID: <85fbvg$j8m@romeo.logica.co.uk> References: NNTP-Posting-Host: 158.234.18.170 X-Newsreader: Microsoft Outlook Express 4.72.3110.5 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com 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