I'm curious about cross compiling. I installed roc according to the tutorial and was able to build and run a hello world on my Mac. I'd like to also build a Windows version. Trying, I got this:
% roc build --target windows-x64
Because I was run with --prebuilt-platform, I was expecting this file to exist:
/Users/dana/.cache/roc/packages/github.com/roc-lang/basic-cli/releases/download/0.5.0/Cufzl36_SnJ4QbOoEmiJ5dIpUxBvdB3NEySvuH82Wio/windows-x64.rh
However, it was not there!
Does basic-cli not support windows? Am I goofing something up?
A message was moved here from #beginners > Lua Garbage Collection by Dana Baguley.
I don't think basic-cli builds on Windows yet. I've looked at it briefly as I would like it to, but I think there is still an issue. I haven't looked at it for a couple of weeks though.
Thanks! I'll find another platform to scratch the itch on. :)
I encountered several issues testing the basic-cli examples on windows, because of that we've opted not to make the required files for windows available yet.
Last updated: Jul 05 2025 at 12:14 UTC