Stream: beginners

Topic: cross compiling basic-cli


view this post on Zulip Dana Baguley (Aug 29 2023 at 00:55):

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?

view this post on Zulip Notification Bot (Aug 29 2023 at 00:56):

A message was moved here from #beginners > Lua Garbage Collection by Dana Baguley.

view this post on Zulip Luke Boswell (Aug 29 2023 at 01:02):

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.

view this post on Zulip Dana Baguley (Aug 29 2023 at 01:08):

Thanks! I'll find another platform to scratch the itch on. :)

view this post on Zulip Anton (Aug 30 2023 at 09:12):

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