asm statement in include/asm not ansi conform

Michel Dänzer daenzer at relog.ch
Thu Aug 31 05:12:31 EST 2000


Marc Dietrich wrote:

> I just compiled XFree from dri.sourceforge.net, which uses the "-ansi"
> option for compiling.

Is that defined in xc/config/cf/host.def? It's always a good idea to tweak
that file before an X build.


> Problem is, that this fails on some "asm" instructions in e.g.
> include/asm-ppc/processor.h. I'm not very firm with C but is it posible to
> replace this with __asm__ ? I compiled X without -ansi and it seems to work.

So the DRI is working for you? Cool, we are two now then ;)


Michel


--
Earthling Michel Dänzer (MrCooper)  \  CS student and free software enthusiast
Debian GNU/Linux (powerpc,i386) user \   member of XFree86 and the DRI project

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-dev mailing list