Closed claytron5000 closed 3 years ago
trying to run make in this project:
make check
cc -ansi -pedantic -O3 -g -Wall -Wextra -Wformat=2 -Wshadow -Wno-long-long -Wno-overlength-strings -Wno-format-nonliteral -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wold-style-definition -Wredundant-decls -Wnested-externs -Wmissing-include-dirs -Wswitch-default tests/combinators.c tests/core.c tests/grammar.c tests/ptest.c tests/regex.c tests/test.c -lm -Lbuild -lmpc -static -o build/test-static
ld: library not found for -lcrt0.o
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [build/test-static] Error 1
From reading, it's pretty clear this is a linking issue on my machine, and not an issue with the application.
@claytron5000, should this be closed then? (I do have an arm64 machine I can test on if you'd like confirmation; it's just not immediately to-hand.)
Yes, I wanted to get it running on the machine and write instructions here, but I haven't had a chance. Closing now.
When following the http://www.buildyourownlisp.com/ tutorial, compiling the code from chapter 6, I get the following error:
Chip: Apple M1 OS: MacOS 11.2.3
Full output from compile with
v
flag: