Post

Replies

Boosts

Views

Activity

Newbie: what flags do I need to set to compile homebrews for native ARM?
Sorry for the dumb question. I've got an Apple Developer Kit with an arm architecture. Calling things like $ uname -a and $ arch returns x86_64 and i386 respectively. Running brew commands like $ brew install rsync is cross-compiling for x86, presumably using the arm half of the xcode-beta universal dev tools. The result of this is a non-fat x86_64 binary interpreted by Rosetta2 which runs fine. I've got the the latest compilers - what command line switches do I need or how can I override the fact that the mac is advertising that it's i386?
2
0
1.1k
Jul ’20