New MacOSX/OSX/macOS build for testing

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

User avatar
Ronald P. Regensburg
Expert User
Posts: 6391
Joined: Thu Feb 09, 2006 10:24 pm
Location: Amsterdam, Netherlands

Re: New MacOSX/OSX/macOS build for testing

Post by Ronald P. Regensburg »

When I build from kanjitalk755/macemu, I also get a fat binary that contains both 32-bit and 64-bit architectures:

Code: Select all

Architectures in the fat file: SheepShaver are: x86_64 i386
But here it will run in 32-bit mode only. Activity Monitor then shows it to run as 32-bit in the "Kind" column. When I deselect "Open in 32-bit mode" in Finder Info for the application to force it to run in 64-bit mode, SheepShaver quits on launch like before with other builds since OSX 10.10.

Where do you see "Code Type: X86-64" in Activity Monitor?
emendelson
Forum All-Star
Posts: 1231
Joined: Tue Oct 14, 2008 12:12 am

Re: New MacOSX/OSX/macOS build for testing

Post by emendelson »

Wait - I see that I built it for 64-bit architecture only, as shown here:

https://imgur.com/a/CjfvGbD

This also shows what Activity Monitor says:

Apologies for taking so long to find these details. It's been six months since I tried this.
User avatar
Ronald P. Regensburg
Expert User
Posts: 6391
Joined: Thu Feb 09, 2006 10:24 pm
Location: Amsterdam, Netherlands

Re: New MacOSX/OSX/macOS build for testing

Post by Ronald P. Regensburg »

I built with those settings. The result is a 64-bit only application:

Code: Select all

Non-fat file: SheepShaver is architecture: x86_64
The application quits on launch.

Note that lipo -info reports your SheepShaver executable to be fat, both 32-bit and 64-bit:

Code: Select all

Architectures in the fat file: SheepShaver are: x86_64 i386
Are you sure that the SheepShaver you use is indeed running as 64-bit?
Last edited by Ronald P. Regensburg on Wed Jun 06, 2018 1:06 pm, edited 2 times in total.
emendelson
Forum All-Star
Posts: 1231
Joined: Tue Oct 14, 2008 12:12 am

Re: New MacOSX/OSX/macOS build for testing

Post by emendelson »

PM sent with (I hope) something you can try.

EDIT: About your last question, that first lipo report dates back to a different build from the one I made this morning. About the one I made this morning (and PM'ed you about), lipo reports:
Non-fat file: ./SheepShaver is architecture: x86_64
And Activity Monitor reports:
Analysis of sampling SheepShaver (pid 96183) every 1 millisecond
Process: SheepShaver [96183]
Path: /Users/edward/Desktop/SheepShaver.app/Contents/MacOS/SheepShaver
Load Address: 0x76f000
Identifier: SheepShaver
Version: KanjiTalk755 (2017.12.09)
Code Type: X86-64
Parent Process: ??? [1]
kanjitalk755
Mac Mechanic
Posts: 153
Joined: Thu Nov 09, 2017 12:06 pm

Re: New MacOSX/OSX/macOS build for testing

Post by kanjitalk755 »

I have fixed clipboard-exchange issue on 64-bit build.

Also, I have changed to use same clipboard routine (clip_macosx64.mm) for both 32-bit and 64-bit build.

By doing this, styled text issue may be fixed on 32-bit build.

https://github.com/kanjitalk755/macemu
emendelson
Forum All-Star
Posts: 1231
Joined: Tue Oct 14, 2008 12:12 am

Re: New MacOSX/OSX/macOS build for testing

Post by emendelson »

Thank you! It builds and works.
Post Reply