为什么这甚至可以在我的 Intel i5 上运行?为什么我可以本地执行它?
# riscv64-linux-gnu-gcc-7 hello.c -o hello -static
# ./hello
Hello World!
# file hello
hello: ELF 64-bit LSB executable, UCB RISC-V, version 1 (SYSV), statically linked, for GNU/Linux 4.15.0, BuildID[sha1]=519dabc53e2d6cccc48750975ee60000263d0c95, not stripped