Differences

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

Link to this comparison view

Next revision
Previous revision
cross_compiler [2007-06-07 09:12] – created nikcross_compiler [2007-06-07 09:15] (current) nik
Line 1: Line 1:
-==== building a cross compiler from source ====+=== building a cross compiler from source ===
  
   * a shell script to download, patch, and build gcc+glibc toolchains that run on Linux, Mac OS X, or Cygwin and generate Linux executables:     http://kegel.com/crosstool   * a shell script to download, patch, and build gcc+glibc toolchains that run on Linux, Mac OS X, or Cygwin and generate Linux executables:     http://kegel.com/crosstool
Line 21: Line 21:
   * missing stdio files + asm files -> kernel source must be configured (make menuconfig)   * missing stdio files + asm files -> kernel source must be configured (make menuconfig)
   * arch- and proc- aliases werent automatically created (ln -s arch-sa1110 arch ,.etc)   * arch- and proc- aliases werent automatically created (ln -s arch-sa1110 arch ,.etc)
-  * strong_alias (__old_sys_nerr, _old_sys_nerr) patch wasnt applied in gcc-3.2 ( s/strong/weak/ in glibc/libc/sysdeps/unix/sysv/linux/errlist.c)+  * strong_alias <code>(__old_sys_nerr, _old_sys_nerr) patch wasnt applied in gcc-3.2 ( s/strong/weak/ in glibc/libc/sysdeps/unix/sysv/linux/errlist.c)</code>
   * need to patch glibc-2.2.5 fr arm-linux (to avoid "libc.so.6: undefined reference to `size_of_encoded_value'" error")   * need to patch glibc-2.2.5 fr arm-linux (to avoid "libc.so.6: undefined reference to `size_of_encoded_value'" error")
  
 stumbling darwinian stumbling darwinian
 +  * make "CC=cc -no-cpp-precomp -DHAVE_DESIGNATED_INITIALIZERS=0" is required to build gcc properly using apples version of gcc3.1
 +  * unstumbled -> working PPCtoARMtoolchain
  
-make "CC=cc -no-cpp-precomp -DHAVE_DESIGNATED_INITIALIZERS=0" is required to build gcc properly using apples version of gcc3.1 
-unstumbled -> working PPCtoARMtoolchain 
  
 +==== David A. Desrosiers All-in-One Single-Pass Cross-Compiler Build Script Doohickey (modified) ====
  
  
-David A. Desrosiers All-in-One Single-Pass Cross-Compiler Build Script Doohickey (modified) +<code>
- +
-</code>+
 #!/bin/bash #!/bin/bash
 # #
  • cross_compiler.1181207567.txt.gz
  • Last modified: 2007-06-07 09:12
  • by nik