riscv32-unknown-elf-gcc -march=rv32imafdc -mabi=ilp32f -lc -lgcc -o float_eg.elf float_eg.c
Error:
/opt/riscv_toolchain/riscv_tool_chain/bin/../lib/gcc/riscv32-unknown-elf/10.0.0/../../../../riscv32-unknown-elf/bin/ld: /tmp/ccpGGTuj.o: can't link single-float modules with soft-float modules
/opt/riscv_toolchain/riscv_tool_chain/bin/../lib/gcc/riscv32-unknown-elf/10.0.0/../../../../riscv32-unknown-elf/bin/ld: failed to merge target specific data of file /tmp/ccpGGTuj.o
collect2: error: ld returned 1 exit status
Please assist me in fixing the same.
Thanks,
Susmita
--
You received this message because you are subscribed to the Google Groups "RISC-V SW Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sw-dev+un...@groups.riscv.org.
To view this discussion on the web visit https://groups.google.com/a/groups.riscv.org/d/msgid/sw-dev/43c8fb7e-ec54-4e14-93df-69fd37b3b3fcn%40groups.riscv.org.