Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 499
nikk Avatar asked Feb 19 '15 00:02

nikk


People also ask

Is Cygwin a cross compiler?

The Cygwin Ports repository contains cross-compilers for i686, x86_64, armv7hl, and aarch64 GNU/Linux targets.

Can I install both Cygwin and MinGW?

You can install MinGW-W64 under "Cygwin" by selecting these packages (under "Devel" category): mingw64-x86_64-gcc-core : 64-bit C compiler for native 64-bit Windows. The executable is " x86_64-w64-mingw32-gcc ". mingw64-x86_64-gcc-g++ : 64-bit C++ compiler for native 64-bit Windows.

Should I use Cygwin or MinGW?

MinGW is higher performance than Cygwin, but it's also 32-bit which may be a problem with your applications. There is a 64-bit environment similar to MinGW but it's a different project. MinGW-w64 is in all senses the successor to MinGW. org's version.


1 Answers

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.

like image 69
Yaakov Avatar answered Nov 16 '22 01:11

Yaakov