RISC-V GCC 11.2 Native Build
I have a SiFive Unmatched system running Ubuntu 21.04. I'm attempting to build a GCC (11.2) from source natively on the platform and I'm running into a series of issues that require multilib support (for rv32 headers/libs). Since 21.04 on RISC-V does not have support for multilib, I'm curious how the Debian/Ubuntu maintainers are building the native RISC-V toolchain? I downloaded the upstream release source from GNU for gcc 11.2.0 and did the following:
$> mkdir objdir
$> $PWD/..
This fails to build due to multilib issues. I also tried:
$> $PWD/../configure --prefix=
This also fails to build. I'm curious what the respective configuration options are for the Debian-based packaging such that I can replicate with GCC 11.2.
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- John Leidel
- Solved:
- Last query:
- Last reply: