Re:I built a native Windows Todo app in pure C (278 KB, no f...
by dwattttt on Sunday May 11, 2025 @09:55PM
(#43958940)
A cursory browse says there's no Linux-isms in the code base, so the Windows-y way to build that (without going into licensing) would be to use the Visual Studio Build Tools. They're the CLI toolchain you get for Visual Studio, but free when compiling open source projects (as of recently: https://devblogs.microsoft.com/cppblog/updates-to-visual-stu...)
They still notionally need to run on a Windows machine, although I recall people have managed to run them under wine before.
EDIT: It took me a few reads to parse what the link is saying, so: using the toolchain to compile open source dependencies is fine, even if your codebase is closed source, so long as the closed source part isn't being built with the Build Tools.
Re:I built a native Windows Todo app in pure C (278 KB, no f...
by lucasoshiro on Sunday May 11, 2025 @10:18PM
(#43959058)
Thanks!
Re:I built a native Windows Todo app in pure C (278 KB, no f...
by thefilmore on Monday May 12, 2025 @03:14AM
(#43960377)
I wrote a guide [1] that collects this information in one place.
[1] https://akr.am/blog/posts/a-guide-to-compiling-programs-on-w...
Re:I built a native Windows Todo app in pure C (278 KB, no f...
by card_zero on Monday May 12, 2025 @04:01AM
(#43960621)
I use Pelle's C. Never seen it mentioned here. Based (a long time ago) on LCC. I think it's sweet.
Re:I built a native Windows Todo app in pure C (278 KB, no f...
by debugnik on Monday May 12, 2025 @09:26AM
(#43962649)
I remember Pelles C being the first full C11 implementation, which I felt was impressive for such an unpopular toolchain.
I guess they can't switch to a FOSS licence because of the licence of LCC? How much of the original code even remains after more than 20 years and several C standards later?
Re:I built a native Windows Todo app in pure C (278 KB, no f...
by int_19h on Monday May 12, 2025 @01:48PM
(#43965697)
The most Windows-y way to do that is to get Visual Studio (Community Edition is free for non-commercial use). It still has project templates for pure Win32 apps even, although they are C++ rather than C.
So, a honest question from a Linux/Mac guy: what is the Windows-y way to do that?