YosysHQ / picorv32

PicoRV32 - A Size-Optimized RISC-V CPU
ISC License
3.15k stars 759 forks source link

added CROSS prefix and CFLAGS to the picsoc/Makefile #141

Closed rxrbln closed 5 years ago

rxrbln commented 5 years ago

so one can run it with other toolchains, e.g. CROSS=riscv64-t2-linux-gnu- CFLAGS=-mabi=ilp32, too

luismarques commented 5 years ago

As long as you're doing this, consider making the changes in a way that you could also easily use clang, which probably won't be called *gcc.

rxrbln commented 5 years ago

As long as you're doing this, consider making the changes in a way that you could also easily use clang, which probably won't be called *gcc.

maybe that is a second, different pull request? Did you try using clang to compile the firmware and did it work?