• obbeel@lemmy.eco.brOP
    link
    fedilink
    arrow-up
    1
    ·
    2 months ago

    Do you think I can program on a Windows VM? Do you work with it? I still use Windows because I need my programs to work on Windows (had my programs built on Linux fail on Windows Machines before). Do you have experience on this?

    • 0x0@programming.dev
      link
      fedilink
      arrow-up
      2
      ·
      2 months ago

      That wouldn’t be about the VM but the OS. If the software is built to target linux without care for portability then it’ll fail on windows - you’d have to compile it targetting windows, either using the Visual Studio compiler or MinGW’s gcc, be it native for windows under MSYS2 or using a cross-compiler variant.