Re: Apple Silicon compilation

robert lippmann <[email protected]> Mon, 10 Mar 2025 22:54:18 -0400
Newsgroups gmane.comp.emulators.wine.devel
Message-ID <[email protected]>
> 
> * MacOS won't allow you to map anything below 4 GB, so Wine can't place the 
> KSHARED_USER_DATA at 0x7ffe0000.
> 

Actually, Windows doesn’t do that anymore on 64 bit systems:

https://msrc.microsoft.com/blog/2022/04/randomizing-the-kuser_shared_data-structure-on-windows/

> * ARM MacOS has 16 kb pages whereas Windows has 4kb ones.
> 

Yeah, that seems to be the sticking point.  Asahi has that problem too.

I’ve been thinking about that, and was wondering if it might just be a better idea to delegate functions to their UIKit/Foundation/whatever frameworks.

It would probably need to be a fork, since Wine can’t have objective C code (and Apple is moving to Swift anyway).

Or, I saw this for making Cocoa C bindings:
https://github.com/FelixK15/c_ocoa
FelixK15/c_ocoa
github.com