delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/03/24/18:36:08

Message-ID: <38DBF7AF.A0786922@ou.edu>
From: David Cleaver <davidis AT ou DOT edu>
X-Mailer: Mozilla 4.7 [en] (Win98; I)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: I'm Back...
Lines: 22
Date: Fri, 24 Mar 2000 17:18:08 -0600
NNTP-Posting-Host: 129.15.140.115
X-Complaints-To: usenet AT ou DOT edu
X-Trace: news.ou.edu 953939803 129.15.140.115 (Fri, 24 Mar 2000 17:16:43 CST)
NNTP-Posting-Date: Fri, 24 Mar 2000 17:16:43 CST
Organization: The University of Oklahoma
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Ok,  I'm now having compiling problems due to the fact that I've updated to the
new gcc 2.95.2.  I know its probably not new to most of you here but I just
upgraded a day or two ago.

Ok, my problem is that I'm compiling source code that isn't mine and that
apparently has a ton of 'asm' in it.  So, of course, I'm getting the error:

farptrx.h:13: Invalid 'asm' statement:
farptrx.h:13: fixed or forbidden register 2 (cx) was spilled for class CREG.

Now, my first question is: Can I somehow get it to compile this without it
complaining about the clobbered registers (or whatever the terminology is)?
I've looked at the FAQ, and it says to re-write the 'asm' "correctly".  Since
I'm not sure what the original code is doing in most of these places, I fear my
changing anything will really mess up the whole program.  So, this is why I need
to compile the 'asm' sections according to the 2.8.1 standard.  Does anyone have
any suggestions?  Is this possible?  Should I tell the writers of the code what
has happened and hope that they can change it?  I hope this is enough info.  If
its not, please let me know what additional info you need to try and answer this
question.  Thanks for your time.

-David C.

- Raw text -


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