3 ms·
Will compiling with Cosmopolitan enable it to run on Windows?
by jvolkman 4y ago
Will compiling with Cosmopolitan enable it to run on Windows?
- jart 4y agoAbsolutely. If you download last year's release of Blinkenlights, you can actually use this software on Windows today. It works great in the Windows 10 command prompt or powershell. https://justine.lol/blinkenlights/download.html https://justine.lol/blinkenlights/download.html
- jvolkman 4y agoAwesome. I actually started trying to get it to build against mingw-w64 earlier today, but I guess I'll just wait for you. :) I'm not a windows user, but super interested in using Blink to ship pre-compiled binaries as part of various Bazel rule sets.
- jart 4y agoI've wanted that for the longest time. You know the feeling. You mostly write something like Java and Bazel works fantastically at that. But then you find out you need about 100 lines of C code in your build to do some specific thing Java can't do, and suddenly you've opened pandora's box because compiling native code across platforms is a nightmare. Life would be so much easier if we could just vendor a 40kb prebuilt Linux binary that could run on all the other platforms too. All you need now to do that, is a few additional ~200kb blink binaries.