unadorned "gcc" -
as opposed to /opt/gcc-linaro-arm-linux-gnueabi-2012.04-20120426_linux/bin/arm-linux-gnueabi-gcc
(Linaro K5)
or
/opt/arm-2007q3/bin/arm-none-linux-gnueabi-gcc
(Code Sourcery K3)
native compile = build for the machine you are running build on
cross compile = build for a different target.
gcc -o foo blar.c would build a windows executable on a window box, linux on a linux
arm-linux-gnueabi-gcc -o foo blar.c would build a kindle-ready one, on both.
Have a read up on the general principles of x-compiling : ) but that's the gist of it : )
(pictures, kindle 5 and 3 TC's)
Last edited by twobob; 10-02-2012 at 12:27 PM.
Reason: added both machines to make the point.
|