We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello, I am on x86_64 GNU/Linux arch linux.
I did../configure --host=riscv64-unknown-elf but
../configure --host=riscv64-unknown-elf
$ make gcc -MMD -MP -Wall -Werror -D__NO_INLINE__ -mcmodel=medany -O2 -std=gnu99 -Wno-unused -Wno-attributes -fno-delete-null-pointer-checks -DBBL_PAYLOAD=\"bbl_payload\" -DBBL_LOGO_FILE=\"bbl_logo_file\" -I. -I../pk -I../bbl -I../softfloat -I../dummy_payload -I../machine -I../util -c ../pk/file.c gcc: error: unrecognized argument in option ‘-mcmodel=medany’ gcc: note: valid arguments to ‘-mcmodel=’ are: 32 kernel large medium small; did you mean ‘medium’? make: *** [Makefile:302: file.o] Error 1
If I try the gcc command with -mcmodel=medany deleted it give this error:
-mcmodel=medany
../pk/file.c: Assembler messages: ../pk/file.c:28: Error: no such instruction: `fence'
The text was updated successfully, but these errors were encountered:
You seem to be trying to build pk/bbl with an x86_64 compiler. Was riscv64-unknown-elf-gcc in PATH at the time of the configure?
Sorry, something went wrong.
ah I understand, I didn't realize I needed a riscv toolchain to build this. Thank you.
But riscv64-unknown-elf-gcc in PATH at the time of the configure.Why still have the error:unrecognized argument in option ‘-mcmodel=medany’
No branches or pull requests
Hello, I am on x86_64 GNU/Linux arch linux.
I did
../configure --host=riscv64-unknown-elf
butIf I try the gcc command with
-mcmodel=medany
deleted it give this error:The text was updated successfully, but these errors were encountered: