default ARCH = riscv
- compile for riscv
make ARCH=riscv - run via qemu on x86-64 platform
make ARCH=riscv qemu / qemu-noxIf you wanna exit qemu on terminal, use the keyboard binding Ctrl+A and then X
- debug using gdb and qemu
By the gdb debug protocol, a gdb server and a gdb client.
make ARCH=riscv qemu-gdb / qemu-nox-gdband then open another terminal typing
make ARCH=riscv gdb- Additional Information for test
make ARCH=riscv print-qemu
make ARCH=riscv print-gdbport- clean target and garbage
make clean
make disclean- For network connections
- echo test
One process run the command down below, another process run
make nc-7
make run-echosrv-nox - httpd test
One process run the command down below, another process run
make nc-80or using firefox browser typehttp://host:port/index.htmlthe host is the name of the computer and the port is the number directed to 80 on the GNUMakefile.
make run-httpd-nox
http://ubuntu:26002/index.html