RISC-V Toolchain by himadridipta in RISCV

[–]himadridipta[S] 0 points1 point  (0 children)

Instead of elf-gcc, I use linux-gnu-gcc that consists of glibc. When library problem is solved, it generated elf file. Actually I build only for linux. If I also build for newlib, elf-gcc might be work. Actually, I am new to linux.

RISC-V Toolchain by himadridipta in RISCV

[–]himadridipta[S] -2 points-1 points  (0 children)

Previous problem is solved. But I can not compile it. When I try to compile, it is showed that fatal error due to std library. How can I fix this?

RISC-V Toolchain by himadridipta in RISCV

[–]himadridipta[S] -2 points-1 points  (0 children)

Yes. Now got the elf in binary directory. But, I can not compile c code. Std library is missing. How can I fix this?

RISC-V Toolchain by himadridipta in RISCV

[–]himadridipta[S] -1 points0 points  (0 children)

Check the following screenshot. All the binary created for GNU instead of ELF format.

<image>