cnvogelg / amitools

Various tools for using AmigaOS programs on other platforms
250 stars 69 forks source link

Cannot install on macOS 11 Big Sur #161

Closed n9yty closed 3 years ago

n9yty commented 3 years ago

The errors are too lengthy to list here, but trying to install on Big Sur (macOS 11) fails. I'll include a snippet below.

Is this a known issue?

Perhaps the core of it is that Xcode is missing support for PPC architecture? I don't know if this is something I can install or not:

    cc -arch ppc -arch i386 -arch x86_64 -c musashi/m68kmake.c -o build/musashi/m68kmake.o
    In file included from musashi/m68kmake.c:66:
    In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:64:
    In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h:68:
    /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:828:2: error: Unsupported architecture
    #error Unsupported architecture

I did see this project (https://github.com/devernay/xcodelegacy), but before I go messing up my Xcode install I thought I would step back and ask here...

n9yty commented 3 years ago

From who knows how long ago, I had ARCHFLAGS set. That was messing it up, nothing in amitools was involved in trying to use ppc architecture.