riscv64-elf-binutils

GNU Binutils for RISC-V 64-bit ELF cross-compilation toolchain

brewmacoslinux
Try with needOr install directly
Source

About

GNU Binutils for riscv64-elf cross development

Commands

riscv64-unknown-elf-asriscv64-unknown-elf-ldriscv64-unknown-elf-arriscv64-unknown-elf-nmriscv64-unknown-elf-objdumpriscv64-unknown-elf-objcopyriscv64-unknown-elf-ranlibriscv64-unknown-elf-stripriscv64-unknown-elf-readelf

Examples

Disassemble a RISC-V ELF binary to inspect machine code$ riscv64-unknown-elf-objdump -d firmware.elf
Extract sections from an ELF file for flashing to device$ riscv64-unknown-elf-objcopy -O binary firmware.elf firmware.bin
View symbol information in a RISC-V ELF executable$ riscv64-unknown-elf-nm firmware.elf