riscv-software-src / homebrew-riscv

homebrew (macOS) packages for RISC-V toolchain
https://riscv.org
314 stars 49 forks source link

Build the linux cross compiler? #50

Closed thorlucas closed 3 years ago

thorlucas commented 3 years ago

This seems to only build riscv64-unknown-elf.

sbeamer commented 3 years ago

Yes, you are correct.

Building the linux compiler on macOS has been problematic for many years. The biggest issue is glibc needs a case sensitive file system to be built, and the default formats for macs typically are case insensitive. I haven't looked into this closely a couple years, so perhaps if we are lucky, glibc resolved this issue.

We will welcome PRs to add support for this.