riscv-software-src / riscv-tools

RISC-V Tools (ISA Simulator and Tests)
1.14k stars 447 forks source link

error on trying to get object dump file from .S file #133

Closed pranavShreyas closed 7 years ago

pranavShreyas commented 7 years ago

Hello, Could anybody tell me what this error means and where to fix it? I have a Dhrystone assembly file and trying to obj dump file using the steps in this link " https://inst.eecs.berkeley.edu/~cs250/fa10/handouts/tut3-riscv.pdf" .

Command i used : /home/rocketchip/bin/riscv64-unknown-linux-gnu-gcc -nostdlib -nostartfiles dhry_test.s -o dhry_test

I don't have a linker script. Is is necessary? Error message: Assembler messages: Fatal error: invalid -march= option: `rv64imafdc'

Thanks!