Long Nguyen
Long Nguyen
Also I'm ironing out some issues with clang-cl, you can check back on this PR for progress
Alright I'll try to work on it.
Please see #73
Oh hello there, it's great that you find my comment helpful, although that was more of a (failed) experiment than a proper build guide, so you really shouldn't follow that....
That diff was an experiment to replace MSYS2 with BusyBox and native Windows port of various Unix tools. However it became too difficult to maintain, and the lack of other...
Some more info: `gcc` and `nuwen-mingw` is [nuwen's mingw-w64 distro](https://nuwen.net/mingw.html) `gcc-msys` and `gcc-ucrt` is MSYS2, linked with msvcrt and ucrt respectively (use `gcc-msys` to have the best chance of working...
There's a patch for glib 2.56.x that adds constructor support on Windows https://github.com/bincrafters/conan-glib/blob/fad3e50d0eaf69221c0ef65077823aee341cee25/patches/0002-win32-Prefer-the-use-of-constructors-over-DllMain.patch, not sure if it'll apply cleanly on later versions.
After digging around glib's GitLab, I found [this PR](https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2438/diffs#222f85815674e71920f35abe99deef0531589a67) which has been merged a while ago, so theoretically it should work, if you use a new enough glib. Also, have...
At least it has been upstreamed, so we can finally have some sleep :)
Did you try to build a static version of glib? Mine builds successfully with no errors