Skip to content

Configuring on M1 mac fails (macOS 14) #281

@gerd-moellmann

Description

@gerd-moellmann

Configuring mps (./configure ...) on an M1 mac with macOS 14.3.1 fails for me. Making the change below and regenerating configure with autoconf lets me build, and all tests succeeded.

modified   configure.ac
@@ -91,6 +91,17 @@ case $host/$CLANG in
       TEST_TARGET=test-xcode-build
       PFMCFLAGS="$CFLAGS_LL"
     ;;
+  arm-apple-darwin*/*)
+      AC_MSG_RESULT([Mac OS X ARM64])
+      MPS_OS_NAME=xc
+      MPS_ARCH_NAME=a6
+      MPS_BUILD_NAME=ll
+      BUILD_TARGET=build-via-xcode
+      CLEAN_TARGET=clean-xcode-build
+      INSTALL_TARGET=install-xcode-build
+      TEST_TARGET=test-xcode-build
+      PFMCFLAGS="$CFLAGS_LL"
+    ;;
   i*86-*-darwin*/*)
       AC_MSG_RESULT([Mac OS X x86])
       MPS_OS_NAME=xc

Metadata

Metadata

Assignees

Labels

needs analaysisThe issue needs analysis before it can be resolved.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions