cross compiler

Printer-friendly version

Build a MinGW Hosted Cross Compiler for Other Platforms

 

TODO: Formatting -- I think I (Keith) got it right; please fix any errors.

FIXME: Software versions described are outdated; please update as appropriate, for current versions.

Building a MinGW Hosted Cross Compiler

To compile and link executables for an embedded target under windows you require a cross compiler for your required processor. This is almost as easy with a properly configured MSYS/MinGW installation as it is with a GNU/Linux machine, merely requiring a few patches for some things that aren't available in a windows native environment.

MinGW cross compiler for Linux build environment

If you're currently interested in a working MinGW cross compiler for Linux, check out the following project:
MinGW cross compiling environment. They have their own mailing list with support for this project (and are separate from the MinGW project and its mailing lists). They use makefiles to build a MinGW cross-compiler and several useful libraries. The makefiles are similar to the BSD ports project and even resemble the Arch build scripts in some ways.

Rest of page updated to current status, as of 15-September-2008.

Previous content of this page was confused, misleading and obsolete. Nevertheless, if you wish to refer to this older content, you may find it here.

HOWTO Build MinGW as a Cross Compiler for Win32 Development on GNU Linux (Obsolete Information)

Minimalist GNU for Win32 (updated for MinGW gcc 3.4.5)

NOTE:

Much of the information presented on this page is obsolete; updated information may be found here.

Site Status

Site maintenance completed May 25th, 2012 at 12:38 UTC