User Tools

Site Tools


building_with_a_free_toolchain

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
building_with_a_free_toolchain [2011/08/13 19:49]
matthiasr
building_with_a_free_toolchain [2013/01/19 00:57]
ratte Added another working example
Line 10: Line 10:
 PATH=$HOME/​arm/​bin:​$PATH ./​release-all PATH=$HOME/​arm/​bin:​$PATH ./​release-all
 </​code>​ </​code>​
 +
 +
 +Another working example:
 +<​code>​
 +git clone https://​github.com/​esden/​summon-arm-toolchain.git
 +cd summon-arm-toolchain
 +./​summon-arm-toolchain PREFIX=$HOME/​arm USE_LINARO=0
 +...
 +</​code>​
 +
 +gcc-linaro fails to build, and when building by hand he had problems while linking. ratte
  
 ====== Toolchain ====== ====== Toolchain ======
  
-I adapted a [[https://​github.com/​matthiasr/​summon-arm-toolchain|Script]] for building a GNU binutils/​GCC/​Newlib/​GDB toolchain. ​On OS X it relies on [[https://mxcl.github.com/homebrew|Homebrew]] for installing the build dependencies (patches for MacPorts ​ and/or Fink support are welcome)on other systems you are on your own, but you probably only need to install the usual GCC dependencies (//mpfr, gmp, libmpc// and their development headers) ​and //wget//.+I adapted a [[https://​github.com/​matthiasr/​summon-arm-toolchain|Script]] for building a GNU binutils/​GCC/​Newlib/​GDB toolchain. ​It should be portable. ​//gmp//, //mpfr// and //mpc// need not be installed.
  
 The script will build //​binutils//,​ //gcc//, the //newlib// C library, //gcc// again and //gdb// into ~/arm by default. The script will build //​binutils//,​ //gcc//, the //newlib// C library, //gcc// again and //gdb// into ~/arm by default.
building_with_a_free_toolchain.txt ยท Last modified: 2013/01/19 00:57 by ratte