Flang-new works perfect on MacOS Sequoia. Faster than gfortran. Install it with Homebrew and add the following lines on .zprofile:
Support for flang-new compiler
export LIBRARY_PATH=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib
export LIBRARY_PATH="$LIBRARY_PATH:/Library/Developer/CommandLineTools/usr/lib/clang/16/lib/darwin"
export LLVMTOOLS=/opt/homebrew/Cellar/flang/19.1.6/lib # directory with libfortran.a
Enjoy.
Topic:
App & System Services
SubTopic:
Core OS
Tags: