Search code examples
linuxgccg++cygwincross-compiling

Linux cross-compiler for Cygwin -- not able to find the Linux Cygwin compiler tool chain online


I have installed Cygwin and followed the necessary steps to install the right packages to allow for Linux cross-compilation on Windows. More info on procedure here Compiling Linux binaries (x86/x86-64) under Windows

However, I am not able to obtain the actual Linux compiler tools from the source above, or anywhere online (after hours of searching). The download to the Linux cross-compiler for Cygwin points to Metamod-P, I wonder what Metamod-P is.

How or where can I get the required Linux cross-compiler for cygwin?


Solution

  • The Cygwin Ports repository contains cross-compilers for i686, x86_64, armv7hl, and aarch64 GNU/Linux targets. Look for the linux-*-gcc-* packages under the Devel category.