![]() |
I just grabbed the latest GIT and compiled it.
my steps were something like this: 1) ./bootstrap.sh 2) ./configure --prefix=/opt/local --with-sdl --with-sdl-sound --with-sdl-gl --with-sdl-gfx --host=i586 --target=i586 CFLAGS="-m32" LDFLAGS="-m32" 3) make 4) During the make process it kept giving me lGL issues, so I removed -lGL from the makefile and added -framework OpenGL in its place. This fixed the linking and got me a binary. Only issue now is I get a green screen that keeps resetting and saying: PAL mode V=50Hz H=15600Hz (227x312) * configuration check trigger memory init end I'll have a fiddle and see if I can get it working. Any tips? Edit: That or some JIT stuff... JIT_APPLE: can't handle access! JIT: instruction byte -1773771600 is 66 JIT: instruction byte -1773771600 is 0f JIT: instruction byte -1773771600 is 74 JIT: instruction byte -1773771600 is 02 JIT: instruction byte -1773771600 is 83 JIT: instruction byte -1773771600 is e1 JIT: instruction byte -1773771600 is 0f JIT: instruction byte -1773771600 is d3 JIT: instruction byte -1773771600 is e0 JIT: instruction byte -1773771600 is 66 I've had issues because I don't think the JIT's 64-bit? Snow Leopard defaults to 64-bit so I've been changing this in the compile options (-m32, i386, i586... etc.) Not too sure how to fix that one. I'm on a MacBook Pro (core 2 duo.) |
No big changes, but -lgl and -lglu don't seem to work with OS X... best to change the makefile to replace them with -framework OpenGL in my opinion.
|
Quote:
|
see bronx_.sh and bronx_nojit.sh for example
|
Yep, based on that here's my "sydney.sh"
./bootstrap.sh ./configure --prefix=/opt/local --with-sdl --with-sdl-sound --with-sdl-gl --with-sdl-gfx --with-sdl-sound --enable-cd32 --enable-scsi-device --disable-jit --host=i586 --target=i586 CFLAGS="-m32" LDFLAGS="-m32" make This compiles, but I get a bus error when trying to run UAE... I'll fiddle further. |
When compiling puaex_2010_04_30.tar.gz on Snow Leopard 10.6.4 with:
./configure --prefix=/opt/local --with-sdl --with-sdl-sound --with-sdl-gl --with-sdl-gfx --with-sdl-sound --enable-cd32 --enable-scsi-device --disable-jit --host=i586 --target=i586 CFLAGS="-m32" LDFLAGS="-m32" compilation fails during cfgfile.c with the following error: cfgfile.c: In function ‘default_prefs’: cfgfile.c:3167: error: ‘DEFAULT_SOUND_MAXB’ undeclared (first use in this function) cfgfile.c:3167: error: (Each undeclared identifier is reported only once cfgfile.c:3167: error: for each function it appears in.) cfgfile.c: In function ‘bip_a3000’: cfgfile.c:3568: warning: implicit declaration of function ‘built_in_chipset_prefs’ cfgfile.c: At top level: cfgfile.c:3932: warning: no previous prototype for ‘built_in_prefs’ cfgfile.c:3983: warning: no previous prototype for ‘built_in_chipset_prefs’ make[3]: *** [cfgfile.o] Error 1 |
puaex_2010_04_30.tar.gz is quite old.
for puae 2.3.0 beta series; http://github.com/GnoStiC/PUAE Quote:
|
Thanks Gnostic!
I had actually run across the github site first, but then couldn't get it to compile so I googled puae OS X and found this thread on EAB. |
please report any problems you have compiling the git version so that i can fix them :)
Quote:
|
I am unable to compile the most current git branch, as of this writing. Compilation output is available at the following location
http://pastebin.org/626364 |
2 Attachment(s)
I would love to get PUAE running on my Macbook Pro, but compiling always fails for me.
Code:
sys-001:GnoStiC-PUAE-8f059ce user$ ./configure --prefix=/opt/local --with-sdl --with-sdl-sound --with-sdl-gl --with-sdl-gfx --with-sdl-sound --enable-cd32 --enable-scsi-device --disable-jit CFLAGS="-m32" LDFLAGS="-m32" > configure.txt |
i get;
"Unable to connect to database" error. Quote:
|
Quote:
|
Quote:
|
Have a look at the upper right for a 'The Zone!' link and read here : http://eab.abime.net/faq.php?faq=vb_...ezone_faq_item how to get access.
|
Just uploaded a new build from commit 8f059ce... (the old build was about to drop off the end.)
|
Quote:
|
+1
Thanks! |
Some hints for Mac developers.
If you have a problem with build PUAE on x64 Snow Leopard + new versions of XCode 1. gcc make x64 builds by default, for build PUAE you must specify 32 bit building: ./configure --target=i586 CFLAGS="-m32" LDFLAGS="-m32" CPPFLAGS="-m32" CFLAGS - for compiling C sources LDFLAGS - for linking CPPFLAGS - hack for building Objective C sources with 32 bit arch (in fact we must use OBJCFLAGS but this way don't work for now :( ) 2. For building with Cocoa (if you have SDL framework installed) you must NOT use "--host=i586" key for configure, if you use it configuration process try to found libsdl... and X libs but not Cocoa. |
1 Attachment(s)
Compiling on Mac OS X didn't work for me out of box with current Git head.
However with this small patch applied everything worked fine... Code:
> cd /path/to/PUA |
All times are GMT +2. The time now is 04:55. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.