回复：[Zephyr-devel] How to compile riscv64 program with 0.10.3 sdk "riscv64-zephyr-elf-gcc" toolchain?
toggle quoted messageShow quoted text
if so,it seems riscv32 toolchain also can take this flag and generate the 64 bit program.
riscv32-zephyr-elf-gcc -march=rv64i -mabi=lp64 -c main.c -o main
caozilong@Exdroid94:~/WorkSpace/riscvilp32$ file main
main: ELF 64-bit LSB relocatable, version 1 (SYSV), not stripped
so, it seems still no difference of two sets of toolchain,