Michael Torrie's Personal Wiki

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

computer_stuff:crosscompiler [2010/04/29 17:33]
Michael Torrie
computer_stuff:crosscompiler [2010/04/29 17:38] (current)
Michael Torrie
Line 1: Line 1:
 ====== Cross Compiling With GCC ====== ====== Cross Compiling With GCC ======
-*Important note* - Although this document was originally written in 2004, and refers to version of gcc, binutils, glibc, and mingw runtimes that are now obsolete, the basic procedures for setting up a cross-compiling environment from scratch are still the same today. ​ For Linux users, most modern distros including Fedora and Ubuntu actually have official packages for installing a cross-compiling environment that targets MS Windows. ​ Rather than building your own compiler, you are advised to use the officially provided ones if you happen to need to build MS Windows executables on Linux.+**Important note** - Although this document was originally written in 2004, and refers to version of gcc, binutils, glibc, and mingw runtimes that are now obsolete, the basic procedures for setting up a cross-compiling environment from scratch are still the same today. ​ For Linux users, most modern distros including Fedora and Ubuntu actually have official packages for installing a cross-compiling environment that targets MS Windows. ​ Rather than building your own compiler, you are advised to use the officially provided ones if you happen to need to build MS Windows executables on Linux.
  
 The GNU Compiler Collection lends itself extremely well to cross compiling, due to its modular architecture. This page is a brief overview of setting up GCC to compile executables to run on foreign linux platforms, and also the Mingw Win32 platform The GNU Compiler Collection lends itself extremely well to cross compiling, due to its modular architecture. This page is a brief overview of setting up GCC to compile executables to run on foreign linux platforms, and also the Mingw Win32 platform
Line 228: Line 228:
 </​code>​ </​code>​
  
-==== Adding Libraries To the Cross Compiling Environment ====+===== Adding Libraries To the Cross Compiling Environment ====
 ==== Linux Targets ==== ==== Linux Targets ====
  

QR Code
QR Code computer_stuff:crosscompiler (generated for current page)