User Tools

Site Tools


build_mac

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
build_mac [2011/12/27 19:25]
sirmarcel [1. Compiler]
build_mac [2012/01/03 03:29]
darthrake Added info box for macports
Line 21: Line 21:
  
 === Solution 2 === === Solution 2 ===
 +
 +<note tip>
 +This "​Solution"​ produces slightly bigger code (with gcc 4.6.2) compared to older gcc versions. Therefore you can not compile some l0dables. This results in errors like:
 +<​code>​arm-none-eabi-ld -nostartfiles -T loadable.ld -o mp0ng.elf mp0ng.o ​ -lc -L/​opt/​local/​arm-none-eabi/​lib/​
 +arm-none-eabi-ld:​ mp0ng.elf section `.text'​ will not fit in region `sram'
 +arm-none-eabi-ld:​ region `sram' overflowed by 148 bytes</​code>​
 +</​note>​
  
   * Install [[http://​macports.org|MacPorts]]   * Install [[http://​macports.org|MacPorts]]
Line 27: Line 34:
  
 === Solution 3 === === Solution 3 ===
 +  * Currently not working (at least on Lion). Less pain: MacPorts
   * Install [[http://​mxcl.github.com/​homebrew|Homebrew]]   * Install [[http://​mxcl.github.com/​homebrew|Homebrew]]
   * Import (as in copy to /​usr/​local/​Library/​Formula) the formulae for cloog-ppl and arm-none-eabi-gcc from [[https://​github.com/​jpc/​homebrew/​tree/​master/​Library/​Formula|here]] ​   * Import (as in copy to /​usr/​local/​Library/​Formula) the formulae for cloog-ppl and arm-none-eabi-gcc from [[https://​github.com/​jpc/​homebrew/​tree/​master/​Library/​Formula|here]] ​
build_mac.txt ยท Last modified: 2012/01/03 03:29 by darthrake