View Single Post
Old 10-02-2012, 12:20 PM   #36
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299993
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
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)
Attached Thumbnails
Click image for larger version

Name:	Selection_037.png
Views:	325
Size:	48.3 KB
ID:	93234   Click image for larger version

Name:	Selection_038.png
Views:	326
Size:	48.7 KB
ID:	93235  

Last edited by twobob; 10-02-2012 at 12:27 PM. Reason: added both machines to make the point.
twobob is offline   Reply With Quote