riscv/meta-riscv

Multilib support

lapnd opened this issue · 4 comments

lapnd commented

Hi,
Using riscv-gnu-toolchain, we will able to get pre-compiled system libraries for all ABIs by using option --enable-multilib
Do we support this kind of features?

kraj commented

@lapnd, the multilib concept in OE/Yocto is a bit different., since its building systems, we usually pick one multilib per toolchain.

lapnd commented

If I understand correctly, let's say, If I want to support rv32i/ilp32, rv32iac/ilp32, rv32im/ilp32, rv32imac/ilp32, rv32imafc/ilp32f, rv32imafdc/ilp32d, rv64imac/lp64, rv64imafdc/lp64d I have to build 08 toolchains /08 SDKs. Is this correct?
Thank you @kraj

kraj commented

for linux yes. For baremetal this might be doable to build a single SDK containing all needed runtime with some changes.

lapnd commented