Compiling on OS X w/gcc 4.0.1 (XCode 2.4)
Aaron Mahler <amahler-Bjd/[email protected]> Sun, 3 Sep 2006 09:31:21 -0400
| Newsgroups | gmane.comp.games.mame.advancemame.user |
|---|---|
| Message-ID | <[email protected]> |
Hello! I'm working on compiling AdvaceMAME 0.106.0 from source on an Intel Mac with the latest XCode 2.4 from Apple (which means gcc 4.0.1). Everything seems ok outside of the compiler now throwing these errors: > obj/mame/darwin/blend/advance/blit/blit.o > advance/blit/icopy.h: In function 'internal_copy8_step_mmx': > advance/blit/icopy.h:195: error: can't find a register in class > 'BREG' while reloading 'asm' > make: *** [obj/mame/darwin/blend/advance/blit/blit.o] Error 1 Removing -DUSE_INLINE_ASM in the makefile can get around this... but I'm curious how much impact that has on the performance of the resulting binary. Does anyone know a more comprehensive fix for the issue? I gather this version of gcc is far pickier about inline assembly for some reason... Thanks! - Aaron -- halfpress: http://www.halfpress.com Documenting Democracy: http://www.docdem.org Aaron's MAME Boxes - http://www.mameblog.com PGP Public Key - http://sparhawk.sbc.edu/amahler.pgp ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Unsubscribe at https://lists.sourceforge.net/lists/listinfo/advancemame-users