![]() src/configure -v -with-pkgversion='Debian 4.3.2-1.1' -with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs -enable-languages=c,c++,fortran,objc,obj-c++ -prefix=/usr -enable-shared -with-system-zlib -libexecdir=/usr/lib -without-included-gettext -enable-threads=posix -enable-nls -with-gxx-include-dir=/usr/include/c++/4.3 -program-suffix=-4.3 -enable-clocale=gnu -enable-libstdcxx-debug -enable-objc-gc -enable-mpfr -enable-targets=all -enable-cld -enable-checking=release -build=i486-linux-gnu -host=i486-linux-gnu -target=i486-linux-gnu src/configure -v -enable-languages=c,c++,fortran,objc,obj-c++,treelang -prefix=/usr -enable-shared -with-system-zlib -libexecdir=/usr/lib -without-included-gettext -enable-threads=posix -enable-nls -program-suffix=-4.1 -enable-_cxa_atexit -enable-clocale=gnu -enable-libstdcxx-debug -enable-mpfr -with-tune=i686 -enable-checking=release i486-linux-gnu OK, this is what gcc on Debian Etch said:Ĭonfigured with. Probably all my fault, but what did I wrong? Src/emu/video/tms9927.c: In function ‘void generic_access(running_device*, offs_t)’: INT32)to floatpassing float)function INT32)to floatpassing INT32)to floatpassing INT32)to floatpassing UINT8*)functionĬompiling it with Debian Lenny ends up with this error: ![]() Src/lib/util/palette.c:583: warning: for argument 1 UINT8 rgb_clamp( Src/lib/util/palette.c: In void palette_set_gamma(palette_t*, : Src/lib/util/palette.c:117: warning: for argument 1 UINT8 rgb_clamp( Src/lib/util/palette.c:116: warning: for argument 1 UINT8 rgb_clamp( Src/lib/util/palette.c:115: warning: for argument 1 UINT8 rgb_clamp( Src/lib/util/palette.c: In rgb_t adjust_palette_entry(rgb_t, float, float, const : it still won't compile here! Both patches applied well, but with my good old Debian Etch I got this error: Now, u1 runs fine on my Slackware Linux 13.0.Īrrrgh. I have updated my GCC to the latest version(-> 4.4.2), and fixed this problem. using OPTIMIZE=0 from that point fixed it for me (not perfect, but OK). I've have the same problem on openSUSE 11.0 圆4 (gcc 4.3.1). Src/emu/video/tms9927.c:149: error: array subscript is above array bounds Src/emu/video/tms9927.c:142: error: array subscript is above array bounds Src/emu/video/tms9927.c: In function 'void generic_access(const device_config*, offs_t)': The previous patches will stay there unless you unzip the base version again.ģ) For Intel 32 and 64-bit and PowerPC builds on Windows, Linux, *BSD, and OS X the makefile will auto-detect your OS and you simply can type "make" or "make -j3" for dual-cores.Ĭc1plus: warnings being treated as errors Go in order: apply u1, then u2, then u3.Ģ.5d) EXCEPTION: if you previously patched your source and a new "u" version is out, you only need to do a make clean and apply the new patch. For each patch starting with u1, type patch -p0 <0.137u1.diff (change the. diff files and the "endings" utility from here into your mame folder.Ģ.5b) Run tne "endings" utility with. For a u1/u2/uX release, continue with the "2.5" steps immediately below this.Ģ.5a) For non-integer releases (u1, u2, etc), unzip the. If this is an integer release (0.137, 0.138, etc) skip to 3). Unzip it (which creates mame.zip) then unzip that to create a mame0137 folder and contents.Ģ) In a command window, cd into the mame0137 folder. (If you've previously run SDLMAME you probably don't need to do this again unless your installed SDL is older than 1.2.14).ġ) Download MAME 0.137 from. dmg opens, use the Finder to drag the SDL.Framework folder into your /Library/Frameworks folder. ![]() dmg under "Runtime Libraries" then "Mac OS X". For Linux/BSD refer to our sticky post for the correct thing to tell yum or apt.Ġb) For Mac OS X, go to the SDL download page and download the. Here's how to build SDLMAME 0.137 on Linux/*BSD/OS X:Ġa) It's assumed you have SDL installed. ![]()
0 Comments
Leave a Reply. |