Page 2 of 2

Re: New MacOSX/OSX/macOS build for testing

Posted: Wed Jun 06, 2018 10:01 am
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?

Re: New MacOSX/OSX/macOS build for testing

Posted: Wed Jun 06, 2018 11:52 am
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.

Re: New MacOSX/OSX/macOS build for testing

Posted: Wed Jun 06, 2018 12:58 pm
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?

Re: New MacOSX/OSX/macOS build for testing

Posted: Wed Jun 06, 2018 2:09 pm
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]

Re: New MacOSX/OSX/macOS build for testing

Posted: Thu Jun 07, 2018 1:36 pm
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

Re: New MacOSX/OSX/macOS build for testing

Posted: Thu Jun 07, 2018 3:26 pm
by emendelson
Thank you! It builds and works.