Skip to content

Instantly share code, notes, and snippets.

@paranlee
Last active May 31, 2021 23:33
Show Gist options
  • Save paranlee/67d68bbaef5bac64267da892bf68d6b8 to your computer and use it in GitHub Desktop.
Save paranlee/67d68bbaef5bac64267da892bf68d6b8 to your computer and use it in GitHub Desktop.
RISC-V build with debugging symbol (Need check to gdb-multiarch can read this debgging symbol)
export CFLAGS="-g -Wall -Wextra"
export ARCH=riscv
export CROSS_COMPILE=riscv64-linux-gnu-
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment