macOS install instructions incomplete?
I'm looking forward to trying out C3. I just followed the macOS install instructions from the website that state:
Installing on Mac Arm64
* Make sure you have XCode with command line tools installed.
* [Download the C3 compiler. ](https://github.com/c3lang/c3c/releases/latest/download/c3-macos.zip)Or the [debug build ](https://github.com/c3lang/c3c/releases/latest/download/c3-macos-debug.zip).
* Unzip executable and standard lib.
* Run ./c3c.
However following these instructions results in:
./c3c
dyld[28179]: Library not loaded: /opt/homebrew/opt/llvm@18/lib/libunwind.1.dylib
Referenced from: <5CFAB7E2-3E1C-3826-A8C9-D5360C535C17> /Users/richard/Downloads/macos/c3c
Reason: tried: '/opt/homebrew/opt/llvm@18/lib/libunwind.1.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/opt/llvm@18/lib/libunwind.1.dylib' (no such file), '/opt/homebrew/opt/llvm@18/lib/libunwind.1.dylib' (no such file)
fish: Job 1, './c3c -v' terminated by signal SIGABRT (Abort)
brew install llvm@18 fixes the problem
Also related: #1388 #1585. Short story is that it builds by grabbing the static LLVM libraries from Homebrew. But those are idiotically built with dynamic dependencies to other homebrew packages. The solution is for the CI to use its own compiled LLVM static libraries. There is only a little work that has been done on that so far.
I also hit this. brew install llvm@18 worked.
can macos intel version works?