Compiling C++ on macOS to run on Windows

17 page views   |   164 words   |  
At work I've been working on a bug in pxp-agent where a filesystem rename operation works on POSIX systems but fails on Windows. As a way to circumvent the lengthy build/install/configure process, I built this little repo to quickly build C++ programs with the boost library. The build can be done on macOS, but the binary it outputs can run on Windows. Here's the repo. It compiles using GNU Make and mingw-w64.

Why am I blogging about this? Because it's 6am and I haven't blogged since 2024-01-26, I've been trying to blog more often. But this one isn't about math, theology or something like that. It's about blue collar programming topics. That's where a lot of my time is spent during the day. When I'm in my 40s I'll go for a PhD so I can go deep on my ideas about math and God. For now, write code, make the kids lunches. Chop wood, carry water.

#programming #c++