www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/08/29/18:22:20

Message-ID: <001301bef25c$2b78c280$8902a8c0@ozzy>
From: "Doncho N. Gunchev" <mr700 AT crosswinds DOT net>
To: <djgpp AT delorie DOT com>
Subject: Small problem & ...
Date: Sun, 29 Aug 1999 23:21:16 +0300
Organization: [ None ]
MIME-Version: 1.0
X-Priority: 5
X-MSMail-Priority: Low
X-Mailer: Microsoft Outlook Express 5.00.2615.200
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
Reply-To: djgpp AT delorie DOT com

            !!! Low priority, if you are out of time don't read this !!!

    I have a small problem: When I make the Allegro game library into the
allegro/src/cpu.c there's a problem with the asm statement:
--- cut from line 61 ---
   : "=a" (result)
   :
   : "eax", "ecx", "memory"
   );
--- cut ---
the error was:
--- cut ---
CPU.C: In function `int is_486()':
CPU.C:62: Invalid `asm' statement:
CPU.C:62: fixed or forbidden register 0 (ax) was spilled for class AREG.
--- cut ---

Removing "eax" 'fixes' the problem. Same thing for some of the djgpp sources
with similar code. Is there a change in the asm? (gcc version 2.95
/gcc -dumpversion/). The only thing I can

BTW: About the "DJGPP and Internationalization" - do you need it in
Bulgarian? I'm not sure if I'll deal with the problem, but at least I can
give it a try!!! (some directions, what to...?)
Actualy I'm downloading all possible docs and will soon start to read them.

----
I've never used UNIX, also I almost hated it - 'cause of the docs, but
DJGPP's abilities changed my mind.

Best wishes
Doncho N. Gunchev
Bulgaria, Varna, 29.VIII.1999


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019