AdeptLanguage / Adept

The Adept Programming Language
GNU General Public License v3.0
120 stars 8 forks source link

Does Adept support AArch64/ARM64? #290

Closed ghost closed 7 months ago

ghost commented 7 months ago

It seems it only support x86_64/AMD64 at the moment.

IsaacShelton commented 7 months ago

On macOS and Linux, yes arm64 is supported. On Windows, I don't remember. It might require manual linking.

ghost commented 7 months ago

On macOS and Linux, yes arm64 is supported. On Windows, I don't remember. It might require manual linking.

Does it mean Apple Silicon is also supported? And how to check for the architecture using preprocessor?

IsaacShelton commented 7 months ago

Yes it is (I am on m1 so I can guarantee).

You can check by doing something like:

#if __macos__ && __arm64__
    #print "On macOS ARM64, terminating with success..."
    #done
#else
    #error "You are not on macOS ARM64"
#end