We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It would be great if we could build locally on modern Macs, including native support for M{1,2,3} chips, etc.
There are some hurdles to figure out. These MLton issues are helpful: MLton/mlton#438, MLton/mlton#424
Taking some notes:
gcc-ar
gcc-ranlib
Makefile.config
AR := ar
RANLIB := ranlib
make
gmake
brew install make
make --debug=v
gmake --debug=v
brew install gmp
/opt/homebrew/Cellar/gmp/6.3.0/{include,lib}
WITH_GMP_DIR := /opt/homebrew/Cellar/gmp/6.3.0
gc/init.c:615:3: error: implicit declaration of function 'srand48_r' is invalid in C99
gc/termination.c:29:7: error: implicit declaration of function 'pthread_yield' is invalid in C99
The text was updated successfully, but these errors were encountered:
#189 has now been merged (thank you @waterlens!!)
I updated the README to include build instructions for Mac (0efae88).
It's possible there may still be some ARM vs x86 bugs lurking, but nothing major has popped up so far. Let's keep our eyes peeled!
Sorry, something went wrong.
No branches or pull requests
It would be great if we could build locally on modern Macs, including native support for M{1,2,3} chips, etc.
There are some hurdles to figure out. These MLton issues are helpful: MLton/mlton#438, MLton/mlton#424
Taking some notes:
gcc-ar
andgcc-ranlib
for MPL...? Can't remember why.Makefile.config
: just need to setAR := ar
andRANLIB := ranlib
make
, and this appears to screw up the build system.gmake
fixes this issue. (Just need to dobrew install make
to installgmake
, which is a newer version of GNU Make.)make --debug=v
andgmake --debug=v
is helpful.brew install gmp
results in/opt/homebrew/Cellar/gmp/6.3.0/{include,lib}
Makefile.config
to setWITH_GMP_DIR := /opt/homebrew/Cellar/gmp/6.3.0
gc/init.c:615:3: error: implicit declaration of function 'srand48_r' is invalid in C99
gc/termination.c:29:7: error: implicit declaration of function 'pthread_yield' is invalid in C99
The text was updated successfully, but these errors were encountered: