Cross-Compilation for Milk V Duo DIRECTLY in Windows

Hi there,
I’m new to the forum, and after doing some research, I’ve been unable to find any information about this.
Is it possible to do so?
Thanks in advance.

i don’t know if you consider using WSL, but its the way i use to compile without having to install linux

1 Like

Thanks for your reply.
I mean compiling directly in windows, no virtual machine, no wsl.
Thanks!

Sounds really weird to me. But maybe you can do it, for whatever reason.

Are you looking to compile Linux riscv64 programs? There’s no downside to using WSL2, it’s not a virtual machine, it’s a full Linux subsystem.

You could try to make MSYS2 work, but there isn’t a package that allows to you to cross-compile for a Linux riscv64 target, just bare metal.

4 Likes