• Ziglin@lemmy.world
    link
    fedilink
    arrow-up
    12
    ·
    8 months ago

    I’ve used mingw in the past, the exe usually is 10x the size and wants the entire binary of any library used as well and first requires you to download the source windows version of the lib and link it. Meaning a small SDL2 project on Linux was I think 100kib while on windows it was 1mib + 2.5 mib

    • 0x4E4F@lemmy.dbzer0.comOP
      link
      fedilink
      arrow-up
      8
      ·
      8 months ago

      Windows has dll hell… so basically, to ge around this, some tools statically link by default. It’s not an ideal solution, but it works most of the time… and regarding how unmainatained a Windows install might be (old installs, like Win7) or how badly updated/upgraded it might be (newer installs, Win10 and 11), I guess it is the only choice you actually have to make your app run on as many Windows systems as possible.

  • PeterPoopshit@lemmy.world
    link
    fedilink
    arrow-up
    9
    ·
    edit-2
    8 months ago

    Best I can do is make an elf that mostly works and the memory manager seems pretty solid but the second you start doing stuff with strings, it fucks all up and I never figured out that bug after months so it is what it is. If you want to print a string you have to drop into real mode first.