Hi, My laptop is Macbook Pro 14' M1. I suspect the error comes from the M1 chip.
Does anyone can help me out!
arallels@ubuntu-linux-20-04-desktop:~/Downloads/ICSim/ICSim-master$ make
gcc -I/usr/include/SDL2 -c -o icsim.o icsim.c
gcc lib.c
/usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/9/../../../aarch64-linux-gnu/Scrt1.o: in function _start': (.text+0x18): undefined reference to main'
/usr/bin/ld: (.text+0x1c): undefined reference to `main'
collect2: error: ld returned 1 exit status
make: *** [Makefile:14: lib.o] Error 1
