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:29]
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.
 +
 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
 What is Cross Compiling What is Cross Compiling
Line 226: Line 228:
 </​code>​ </​code>​
  
-==== Adding Libraries To the Cross Compiling Environment ====+===== Adding Libraries To the Cross Compiling Environment ====
 ==== Linux Targets ==== ==== Linux Targets ====
  
Line 242: Line 245:
   * http://​sources.redhat.com/​autobook/​autobook/​autobook_262.html#​SEC262 - Autoconf documentation on building a cross compiler   * http://​sources.redhat.com/​autobook/​autobook/​autobook_262.html#​SEC262 - Autoconf documentation on building a cross compiler
   * http://​bytesex.org/​cross-compiler.html - a good mini-howto on building cross compilers. Also has some good tips for extracting the source tarballs and patches from RedHat SRPMS.   * http://​bytesex.org/​cross-compiler.html - a good mini-howto on building cross compilers. Also has some good tips for extracting the source tarballs and patches from RedHat SRPMS.
-  * http://​linuxdevices.com/​articles/​AT6830035793.html - Detailed how-to: Cross-compiling for Sharp Zaurus 
- 

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