On Tue, Mar 23, 2021 at 8:29 AM m...@diatr.us <m...@diatr.us> wrote: > > This is needed on Apple iOS devices. > Compiling on an iPhone or iPad, UNAME_MACHINE is equivalent to the device > model. (e.g. iPhone12,3)
To avoid all doubt, could you please copy and paste the output of the appended shell script on an iOS device? For reference, this is what it prints on the GCC Compile Farm's arm64 OSX machine: uname -m = "arm64" uname -p = "arm" uname -r = "20.3.0" uname -s = "Darwin" uname -v = "Darwin Kernel Version 20.3.0: Thu Jan 21 00:06:51 PST 2021; root:xnu-7195.81.3~1/RELEASE_ARM64_T8101" Thanks, zw #! /bin/sh UNAME_MACHINE=$( (uname -m) 2>/dev/null) || UNAME_MACHINE=unknown UNAME_PROCESSOR=$( (uname -p) 2>/dev/null) || UNAME_PROCESSOR=unknown UNAME_RELEASE=$( (uname -r) 2>/dev/null) || UNAME_RELEASE=unknown UNAME_SYSTEM=$( (uname -s) 2>/dev/null) || UNAME_SYSTEM=unknown UNAME_VERSION=$( (uname -v) 2>/dev/null) || UNAME_VERSION=unknown printf 'uname -m = "%s"\n' "$UNAME_MACHINE" printf 'uname -p = "%s"\n' "$UNAME_PROCESSOR" printf 'uname -r = "%s"\n' "$UNAME_RELEASE" printf 'uname -s = "%s"\n' "$UNAME_SYSTEM" printf 'uname -v = "%s"\n' "$UNAME_VERSION"