From: broeker AT physik DOT rwth-aachen DOT de Newsgroups: comp.os.msdos.djgpp Subject: Re: I'm Back... Date: 27 Mar 2000 13:50:39 GMT Organization: Aachen University of Technology (RWTH) Lines: 26 Message-ID: <8bnovf$fqs$1@nets3.rz.RWTH-Aachen.DE> References: <38DBF7AF DOT A0786922 AT ou DOT edu> NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de X-Trace: nets3.rz.RWTH-Aachen.DE 954165039 16220 137.226.32.75 (27 Mar 2000 13:50:39 GMT) X-Complaints-To: abuse AT rwth-aachen DOT de NNTP-Posting-Date: 27 Mar 2000 13:50:39 GMT Originator: broeker@ To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com David Cleaver wrote: [...] > 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)? Not without changing the source, or going back to gcc-2.8.1. Given that you seem not to understand inline assembly, yet, I don't think you're up to the task of making the necessary changes yourself. Leave that to the experts who wrote the code, in the first place: > Should I tell the writers of the code what has happened and hope > that they can change it? Definitely. If they do want to keep their source up-to-date, they have to make those changes. Point them to the GCC FAQ, and they'll probably see what has to be done. -- Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de) Even if all the snow were burnt, ashes would remain.