Arm gcc when building freedom-u-sdk

Hi, I’m trying to compile the freedom-u-sdk from the git repo, and I’m having trouble. I’m getting errors with arm-linux-gnueabihf-gcc, but I’ve double checked and i definitely have the riscv64 architecture selected. Is there a reason it’s using ARM?

When I run “make” I get these error messages:
arm-linux-gnueabihf-gcc: error: unrecognized command line option ‘-m64’
arm-linux-gnueabihf-gcc: error: unrecognized command line option ‘-mno-float’
arm-linux-gnueabihf-gcc: error: unrecognized command line option ‘-mno-save-restore’

Thanks!

What kind of machine are you building it on?

And, exactly what commands have you run?

I’m trying to build it on my desktop, running arch linux on an x86 architecture. I did a pull from the repo and ran make.

Why are you using an ARM toolchain to build RISC-V stuff?!

I believe that was his question!

It boggles the mind.