-
Notifications
You must be signed in to change notification settings - Fork 1
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
Customize gcc for p extension #14
Comments
I haven't encountered this error before. Did you use the riscv-toolchain to build and did you use the wrong configuration (see https://gcc.gnu.org/wiki/FAQ#configure_suffix)? |
Hi Lin Sinan, I have use your riscv-binutils (support p extension) and riscv-gcc (version 10.2) within riscv-toolchain that you mentioned above to build toolchain. I use this toolchain to compile some instructions of P such as add8.S, add16.S, ... and they can compile it smoothly to binary file. Thank you! |
hello, I meet the same problem of you. Could you please share your solution or compiled toolchain? I have no idea about where to find the "riscv-binutils(support p extension)". |
Hi linsinan,
I am a newbie in gcc toolchain. I have found your repo about adding RISC-V P extension and I want to customize my toolchain. I start to follow you with riscv-gcc/gcc/config/riscv directory and modify some files to add "add8" instruction. However, when I built toolchain, I failed on stage 1. This was failed due to error "cannot compute suffix of object files", so recipe for target configure-target-libgcc failed.
I dont know why?
Could you share me some steps to add instructions of P-extension to GCC?
Thank you.
The text was updated successfully, but these errors were encountered: