X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: Juan Manuel Guerrero Newsgroups: comp.os.msdos.djgpp Subject: Re: inline assemby question Date: Fri, 14 Sep 2007 05:41:33 -0700 Organization: http://groups.google.com Lines: 44 Message-ID: <1189773693.151349.32500@w3g2000hsg.googlegroups.com> References: <200709131822 DOT 23799 DOT juan DOT guerrero AT gmx DOT de> <46e99759$0$16107$9b4e6d93 AT newsspool1 DOT arcor-online DOT net> NNTP-Posting-Host: 88.68.56.231 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: posting.google.com 1189773693 32135 127.0.0.1 (14 Sep 2007 12:41:33 GMT) X-Complaints-To: groups-abuse AT google DOT com NNTP-Posting-Date: Fri, 14 Sep 2007 12:41:33 +0000 (UTC) In-Reply-To: <46e99759$0$16107$9b4e6d93@newsspool1.arcor-online.net> User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-us) AppleWebKit/48 (like Gecko) Safari/48,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse AT google DOT com Injection-Info: w3g2000hsg.googlegroups.com; posting-host=88.68.56.231; posting-account=ps2QrAMAAAA6_jCuRt2JEIpn5Otqf_w0 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk I do not know what has happened to the mail I send yesterday, so I send it again. Robert Riebisch schrieb: > Juan Manuel Guerrero wrote: > > > I have also applied the patch proposed by Robert Riebisch some time > > ago. > > I'm not sure, that my patch was correct, because I knew nothing about > input/output/clobber parameters. But it seems to work. I will look closer to it. > > make.exe[1]: Entering directory `d:/p/srcs/contrib/freebe/cirrus54' > > gcc -O3 -m486 -fomit-frame-pointer -Wall -Werror -I.. -MMD -o driver.o -c driver.c > > driver.c: In function 'SrcTransBltSys32MMIO': > > driver.c:1309: error: can't find a register in class 'DREG' while reloading 'asm' > > driver.c:1309: error: 'asm' operand has impossible constraints > > make.exe[1]: *** [driver.o] Error 1 > > make.exe[1]: Leaving directory `d:/p/srcs/contrib/freebe/cirrus54' > > make.exe: *** [cirrus54/vbeaf.drv] Error 2 > > http://my.execpc.com/~geezer/osd/gotchas/ does not apply here? I would > have tried, but `patch' skips several hunks of your diff: That was the right pointer. It is necesary to remove all registers from the clobber list that appear in the input list too. I have used freebs12.zip downloaded from ftp.delorie.com. Maybe that something went wrong during posting/transmission. Anyway, there is a lot of work that needs to be done on this package until it can be compiled out-of-the-box with today's gcc and binutils. When I finish it, if ever, I will upload an update of the package. Regards, Juan M. Guerrero