Skip to content

Instantly share code, notes, and snippets.

@michael-wang
Created October 13, 2022 15:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save michael-wang/94f5ef3640bf99027c10c7c977648044 to your computer and use it in GitHub Desktop.
Save michael-wang/94f5ef3640bf99027c10c7c977648044 to your computer and use it in GitHub Desktop.
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