Port-RISCV archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: About cross-riscv64 compilation error



On Mon, Mar 27, 2023 at 03:43:26PM +0000, Behzat wrote:
> Currently, I'm trying to compile GCC12 for riscv64 architecture to be
> able to cross compile, but when compiling libgcc I get an error like
> "exec: -march=rv64imafd: not found" (or rv64gc, according to arch.
> flag).

Not sure what you are trying to do, you can just build netbsd/riscv with
build.sh and it will create a working cross compiler for you.

Martin


Home | Main Index | Thread Index | Old Index