Created
October 13, 2022 15:35
-
-
Save michael-wang/94f5ef3640bf99027c10c7c977648044 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Description: | |
mit-scheme don't support Mac with M1 chip | |
A work around here: | |
https://kennethfriedman.org/thoughts/2021/mit-scheme-on-apple-silicon/ | |
In case above website gone, here are steps: | |
1. Download x86 Scheme | |
2. Run Terminal in Emulation Mode (Rosetta mode) | |
3. Fix the Source Code | |
Fix code: | |
- mit-scheme-11.2/src/microcode/macosx-starter.c line 58, from vfork to fork. | |
- mit-scheme-11.2/src/microcode/uxsig.c line 1197, comment out. | |
Build and install: | |
cd into the mit-scheme-11.2/src | |
./configure | |
make | |
make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment