Hi all,
thanks to hints of Quian and Dima (thanks!) FriCAS-1.3.10 is no running
on my MacBook M2!
@Quian: I did everything freshly, the only 2 differences to yesterday
(and the only changes!) was that I set
export CC="gcc -march=armv8.5-a"
@Dima: thanks for the proper flag, I did:
configure --enable-case-insensitive-file-system-check=no
If someone is interested in the whole story: Here are my notes:
===============================================================================
Installation of FriCAS 1.3.10 11.01.2024 on an Apple M2 Pro MAC OS
Ventura 13.5.2
+ sbcl 2.1.2 on arm64-darwin is alread installed
+ check whether Xcode has the right version(??): no check
+ download von fricas-1.3.10-full.tar.bz2
+ double click fricas-1.3.10-full.tar.bz2 in finder do unpack
and get ./fricas-1.3.10
+ mv $HOME/Downloads/fricas-1.3.10 $HOME
+ use a terminal session, not iTerm2, as this sees to be united
with x86_64 go to
directory fricas-1.3.10 and then check, whether uname
refers to the write kernel: uname -v or uname -a
uname -v
-- Darwin Kernel Version 22.6.0: Wed Jul 5 22:21:53
PDT 2023; root:xnu-8796.141.3~6/RELEASE_ARM64_T6020
uname -a
--Darwin MBPvonJohannes.fritz.box 22.6.0 Darwin Kernel
Version 22.6.0: Wed Jul 5 22:21:53 PDT 2023;
root:xnu-8796.141.3~6/RELEASE_ARM64_T6020 arm64
on iterm one gets:
uname -a
--Darwin MBPvonJohannes.fritz.box 22.6.0 Darwin Kernel
Version 22.6.0: Wed Jul 5 22:21:53 PDT 2023;
root:xnu-8796.141.3~6/RELEASE_ARM64_T6020 x86_64
info on kernel see
https://reviews.llvm.org/D134351
+ important, set CC:
export CC="gcc -march=armv8.5-a"
echo $CC
+ check, whether the correct C-compiler is active:
+ gcc -v
Apple clang version 13.1.6 (clang-1316.0.21.2.5)
Target: arm64-apple-darwin22.3.0
Thread model: posix
InstalledDir:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
+ configure --enable-case-insensitive-file-system-check=no
-- among other things will produce Makefile
+ as we had set CC already, in Makefile we find CC = gcc
-march=armv8.5-a
+ make
+ make install (as root, as it writes in /usr/local/bin and
/usr/local/lib
the executable file fricas in /usr/local/bin starts with
#!/bin/sh -
exec_prefix="${FRICAS_PREFIX:-/usr/local}"
FRICAS="${exec_prefix}/lib/fricas/target/arm-apple-darwin22.6.0"
export FRICAS
FRICAS_VERSION="1.3.10"
FRICAS_LISP_FLAVOR="sbcl"
FRICAS_LISP_VERSION="2.1.2"
#!/bin/sh
+ myfricas in /Users/jgrabmeier/bin calls the wrapper
exec fricas -clefprog /Users/jgrabmeier/bin/myFricasWrapper
===============================================================================
Am 11.01.24 um 10:28 schrieb Qian Yun: