Path: utzoo!attcan!uunet!cs.utexas.edu!rutgers!apple!bloom-beacon!MITVMA.MIT.EDU!spa%hara.fctunl.rccn.pt From: spa%hara.fctunl.rccn.pt@MITVMA.MIT.EDU Newsgroups: comp.windows.x Subject: Re: Building XQvss with GCC 1.35? Message-ID: <8906061431.AA17610@hara.fctunl.rccn.pt> Date: 6 Jun 89 14:31:28 GMT References: <0613145381@PTIFM.IFM.RCCN.PT> Sender: daemon@bloom-beacon.MIT.EDU Organization: The Internet Lines: 51 It's got to do with gcc's asm() thing, I got around the problem by inserting a "=" character before the "g" in the asm() instructions for FASTGETBITS() and FASTPUTBITS() in file ddx/mfb/maskbits.h. Try the following patch (apply with patch -l because BITNET mailers mung tabs...) *** maskbits.h~ Mon Feb 6 15:10:57 1989 --- maskbits.h Mon Jun 5 17:49:11 1989 *************** *** 315,321 #ifdef vax #define FASTGETBITS(psrc,x,w,dst) \ asm ("extzv %1,%2,%3,%0" \ ! : "g" (dst) \ : "g" (x), "g" (w), "m" (*(char *)(psrc))) #define getbits(psrc,x,w,dst) FASTGETBITS(psrc,x,w,dst) --- 315,321 ----- #ifdef vax #define FASTGETBITS(psrc,x,w,dst) \ asm ("extzv %1,%2,%3,%0" \ ! : "=g" (dst) \ : "g" (x), "g" (w), "m" (*(char *)(psrc))) #define getbits(psrc,x,w,dst) FASTGETBITS(psrc,x,w,dst) *************** *** 321,327 #define FASTPUTBITS(src, x, w, pdst) \ asm ("insv %3,%1,%2,%0" \ ! : "m" (*(char *)(pdst)) \ : "g" (x), "g" (w), "g" (src)) #define putbits(src, x, w, pdst) FASTPUTBITS(src, x, w, pdst) #endif vax --- 321,327 ----- #define FASTPUTBITS(src, x, w, pdst) \ asm ("insv %3,%1,%2,%0" \ ! : "=m" (*(char *)(pdst)) \ : "g" (x), "g" (w), "g" (src)) #define putbits(src, x, w, pdst) FASTPUTBITS(src, x, w, pdst) #endif vax --- Salvador Pinto Abreu BITNET/Internet: spa@fctunl.rccn.pt +---------------------------------+ UUCP: spa@unl.uucp | Departamento de Informatica +----------------------------------+ | Universidade Nova de Lisboa 2825 Monte Caparica, PORTUGAL | +--------------------------------------------------------------------+