p4ddy1 / pine_ox64

13 stars 3 forks source link

GCC unable to find C standard headers #2

Open marchingband opened 1 year ago

marchingband commented 1 year ago

Hi thanks so much for this. I was able to build the toolchain, but my builds fail with fatal error: stdlib.h: No such file or directory Do you happen to know a solution for this? Perhaps it could be a useful addition to the instructions, if this is something encountered by other users. Thanks again, very excited to use this toolchain on my new mac.

marchingband commented 1 year ago

/opt/riscv-toolchain/xuantie/lib/gcc/riscv64-unknown-elf/10.2.0/include/stdint.h:9:16: fatal error: stdint.h: No such file or directory 9 | # include_next <stdint.h>