SheepShaver doesn't compile on Mac OS X 10.9

About SheepShaver, a PPC Mac emulator for Windows, MacOS X, and Linux that can run System 7.5.3 to MacOS 9.0.4.

Moderators: Cat_7, Ronald P. Regensburg, ClockWise

Post Reply
uyjulian
Apple Corer
Posts: 244
Joined: Fri Aug 27, 2010 1:02 am

SheepShaver doesn't compile on Mac OS X 10.9

Post by uyjulian »

llvm doesn't support global registers?
Is there another way to compile?

../kpx_cpu/src/cpu/jit/basic-dyngen-ops.cpp:29:21: error: global register
variables are not supported
register basic_cpu *CPU asm(REG_CPU);
^
../kpx_cpu/src/cpu/jit/basic-dyngen-ops.cpp:33:1: error: global register
variables are not supported
DYNGEN_DEFINE_GLOBAL_REGISTER(0);
^
../kpx_cpu/src/cpu/jit/basic-dyngen-ops.cpp:31:18: note: expanded from macro
'DYNGEN_DEFINE_GLOBAL_REGISTER'
register uintptr A##REG asm(REG_T##REG); \
^
<scratch space>:23:1: note: expanded from here
A0
^
../kpx_cpu/src/cpu/jit/basic-dyngen-ops.cpp:33:1: error: global register
variables are not supported
../kpx_cpu/src/cpu/jit/basic-dyngen-ops.cpp:32:18: note: expanded from macro
'DYNGEN_DEFINE_GLOBAL_REGISTER'
register uint32 T##REG asm(REG_T##REG)
^
<scratch space>:24:1: note: expanded from here
T0
^
../kpx_cpu/src/cpu/jit/basic-dyngen-ops.cpp:34:1: error: global register
variables are not supported
DYNGEN_DEFINE_GLOBAL_REGISTER(1);
^
../kpx_cpu/src/cpu/jit/basic-dyngen-ops.cpp:31:18: note: expanded from macro
'DYNGEN_DEFINE_GLOBAL_REGISTER'
register uintptr A##REG asm(REG_T##REG); \
^
<scratch space>:24:1: note: expanded from here
A1
^
../kpx_cpu/src/cpu/jit/basic-dyngen-ops.cpp:34:1: error: global register
variables are not supported
../kpx_cpu/src/cpu/jit/basic-dyngen-ops.cpp:32:18: note: expanded from macro
'DYNGEN_DEFINE_GLOBAL_REGISTER'
register uint32 T##REG asm(REG_T##REG)
^
<scratch space>:24:1: note: expanded from here
T1
^
../kpx_cpu/src/cpu/jit/basic-dyngen-ops.cpp:35:1: error: global register
variables are not supported
DYNGEN_DEFINE_GLOBAL_REGISTER(2);
^
../kpx_cpu/src/cpu/jit/basic-dyngen-ops.cpp:31:18: note: expanded from macro
'DYNGEN_DEFINE_GLOBAL_REGISTER'
register uintptr A##REG asm(REG_T##REG); \
^
<scratch space>:24:1: note: expanded from here
A2
^
../kpx_cpu/src/cpu/jit/basic-dyngen-ops.cpp:35:1: error: global register
variables are not supported
../kpx_cpu/src/cpu/jit/basic-dyngen-ops.cpp:32:18: note: expanded from macro
'DYNGEN_DEFINE_GLOBAL_REGISTER'
register uint32 T##REG asm(REG_T##REG)
^
<scratch space>:24:1: note: expanded from here
T2
User avatar
Ronald P. Regensburg
Expert User
Posts: 7821
Joined: Thu Feb 09, 2006 10:24 pm
Location: Amsterdam, Netherlands

Re: SheepShaver doesn't compile on Mac OS X 10.9

Post by Ronald P. Regensburg »

As far as I am aware, the latest configuration in which SheepShaver can be compiled is OSX 10.6.8 with Xcode 3.2.6.
uyjulian
Apple Corer
Posts: 244
Joined: Fri Aug 27, 2010 1:02 am

Re: SheepShaver doesn't compile on Mac OS X 10.9

Post by uyjulian »

Ronald P. Regensburg wrote:As far as I am aware, the latest configuration in which SheepShaver can be compiled is OSX 10.6.8 with Xcode 3.2.6.
So, no 10.9?

I was going to play around with the code (I learned some C/C++/Objective-C) and see if I can get the window to have a native full screen option (add a full screen button on top-right corner ?)
User avatar
Ronald P. Regensburg
Expert User
Posts: 7821
Joined: Thu Feb 09, 2006 10:24 pm
Location: Amsterdam, Netherlands

Re: SheepShaver doesn't compile on Mac OS X 10.9

Post by Ronald P. Regensburg »

That is right, no compiling in 10.9.

Not sure what you mean with a "native full screen option".

Have you seen the Ctrl-Return window/full-screen toggle in current SheepShaver and BasiliskII?
uyjulian
Apple Corer
Posts: 244
Joined: Fri Aug 27, 2010 1:02 am

Re: SheepShaver doesn't compile on Mac OS X 10.9

Post by uyjulian »

Ronald P. Regensburg wrote:That is right, no compiling in 10.9.

Not sure what you mean with a "native full screen option".

Have you seen the Ctrl-Return window/full-screen toggle in current SheepShaver and BasiliskII?
You know in Safari there's a full screen button on the top-right and you can switch between full-screen applications? (10.7 and above)
User avatar
Ronald P. Regensburg
Expert User
Posts: 7821
Joined: Thu Feb 09, 2006 10:24 pm
Location: Amsterdam, Netherlands

Re: SheepShaver doesn't compile on Mac OS X 10.9

Post by Ronald P. Regensburg »

Oh, I see. I never use the feature. I do not like application windows full screen, hiding my desktop and other windows.
uyjulian
Apple Corer
Posts: 244
Joined: Fri Aug 27, 2010 1:02 am

Re: SheepShaver doesn't compile on Mac OS X 10.9

Post by uyjulian »

Ronald P. Regensburg wrote:Oh, I see. I never use the feature. I do not like application windows full screen, hiding my desktop and other windows.

Ah.

I like that feature when on small screens, it makes switching between applications way easier.
uyjulian
Apple Corer
Posts: 244
Joined: Fri Aug 27, 2010 1:02 am

Re: SheepShaver doesn't compile on Mac OS X 10.9

Post by uyjulian »

I found this while searching google.

http://nondot.org/sabre/LLVMNotes/Globa ... iables.txt

I don't know if it will help to make SheepShaver compile with clang/llvm.
Post Reply