3 ms·
I suspect mikrotik devs to work on linux...
by julienfr112 4y ago
I suspect mikrotik devs to work on linux...
- geokon 4y agoCan you compile code from within Linux to run on wine..? I know clang supports Windows, but I haven't heard anyone have a crosscompilation setup like that (sounds handy!)
- ta988 4y agoYes you can.https://swarminglogic.com/article/2014_11_crosscompile https://swarminglogic.com/article/2014_11_crosscompile
- squarefoot 4y agoIn many cases you wouldn't even need cross compilation if you can run Windows tools directly on WINE. Years ago I installed Delphi 6 on a Linux machine with WINE, and although I didn't write any complex stuff or imported 3rd party components, it compiled every Delphi code I threw at it, producing native Windows code that ran flawlessly on Windows machines.
- anthk 4y agoYou could use Lazarus just fine.
- squarefoot 4y agoYes of course, I meant a native Windows compiler/IDE in general.
- jononor 4y agoThe mingw toolchain is for cross compiling to target Windows. It is very mature and are used by many open source projects, especially desktop software which is popular on Windows but mostly developed by people running Linux.
- meibo 4y agoWe actually run MSVC builds for Linux by running the VC++ toolchain in Wine, it works very well apart from process startup times, which have been getting a lot better.