Cross compilation on OSX
I was using Ubuntu until the last example because I saw a lot of different errors when setting up gcc for ARM on OSX. But I found good configuration for OSX.
- create a case sensitive partition
- clone crosstool-ng repo and build it
- download arm template and configure ct-ng
- change the config and build it
See README.md on https://github.com/sokoide/rpi-baremetal for more detail.