I'm going to study this Computer Systems: A Programmer's Perspective, and do labs from http://csapp.cs.cmu.edu/3e/labs.html
But I can't figure out how to start, when I'm running "make" to compile lab, for example "datalab" I got an error
gcc -O -Wall -m32 -lm -o btest bits.c btest.c decl.c tests.c
ld: unknown/unsupported architecture name for: -arch armv4t
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [btest] Error 1
As I understand the problem with my system (MacOS m1), anyone find a solution for this?
I found a solution using docker, I created a repository where I described the entire installation process, can be found here