For those of you using this like normal people, simply a make
will suffice.
But ... where is the fun in that?
I attempted to roll a cross-compile environment in Cygwin for several hours and gave up. Everything was so much easier on a Debian 7 VM.
- http://www.mentor.com/embedded-software/sourcery-tools/sourcery-codebench/editions/lite-edition/arm-gnu-linux
- Run the installer. Something like:
./arm-2013.05-24-arm-none-linux-gnueabi.bin
- In
~/.profile
, stick in:PATH="/root/CodeSourcery/Sourcery_CodeBench_Lite_for_ARM_GNU_Linux/bin:$PATH"
... or wherever you pointed the installer to.
Rocking this for the XIOS DS Media Play
- make clean
- make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- CFLAGS="-march=armv7-a -mcpu=cortex-a9 -marm -mlittle-endian -mglibc" all