Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why is it necessary to use RISCV_LINK_OPTS for compilation? #36

Open
ghost opened this issue Feb 22, 2018 · 0 comments
Open

Why is it necessary to use RISCV_LINK_OPTS for compilation? #36

ghost opened this issue Feb 22, 2018 · 0 comments

Comments

@ghost
Copy link

ghost commented Feb 22, 2018

I changed the branch to cs152-sp18.

I followed the compile template to compile my code. There are some errors about undefined reference function, even though I include the lib.

I found the problem was -nostdlib option in RISCV_LINK_OPTS in Makefile for benchmark. If I omitted it, there was following error.

riscv64-unknown-elf-gcc: error: riscv64-unknown-elf-gcc: No such file or directory.

I want to know the reason of using these options and are there any ways to compile it to get report without using these options?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants