Cross compiling for linux on windows

I have found little information on cross-compiling Linux binaries on Windows, most of the questions are about the opposite.

Does anyone have any experience or pointers?

I would prefer Mingw over Cygwin if I can choose.

Suppose a specific target Linux is available: I have headers and include binaries.

+4
source share
1 answer

I didn’t do this myself, but have you thought about creating a virtual machine and compiling it? You can use the "network" resource so that both the Windows system and the Linux virtual system can see the same directories. With Virtual Machine, it’s much easier to focus on specific distributions and architectures.

Good luck, whatever.

0
source

All Articles