Hi! Apple have migrated all their Mac to ARM M1 chip for 2 years, and stoped selling their old intel x86-64 product since 2020. In 2022, I noticed lots of my classmates using M1 Mac.
qemu and i386-jos-elf- both have ARM version, while gcc does not. But lldb is a practical substitute.
I tried to run the command make qemu-nox in my terminal
Then I noticed the -ggdb option. I checked gcc's documentation, seems they only support gdb as the only one for debugging information.
Developing locally can improve efficiency dramatically to students, so just wondering if finishing xv6 project on M1 Mac is doable. (I'll also try to figure it out) Thanks!
Hi! Apple have migrated all their Mac to ARM M1 chip for 2 years, and stoped selling their old intel x86-64 product since 2020. In 2022, I noticed lots of my classmates using M1 Mac.
qemu
andi386-jos-elf-
both have ARM version, whilegcc
does not. Butlldb
is a practical substitute.I tried to run the command
make qemu-nox
in my terminalthen the actual command generated is:
Then I noticed the
-ggdb
option. I checked gcc's documentation, seems they only supportgdb
as the only one for debugging information.Developing locally can improve efficiency dramatically to students, so just wondering if finishing xv6 project on M1 Mac is doable. (I'll also try to figure it out) Thanks!