Personal tools

Log in

Changes

From IGEP - ISEE Wiki

Jump to: navigation, search

Ubuntu 8.04 IGEP v2.0 SDK Virtual Machine

646 bytes added, 14:01, 22 December 2010
Example 2: Hello world (built with autotool+cross toolchain)
==== Example 2: Hello world (built with autotool+cross toolchain) ====
Using the SDK with autotool enabled packages is straightforward; just pass the appropriate host option to configure <pre>$ ./configure --target=arm-none-linux-gnueabi --host=arm-none-linux-gnueabi</pre> Now, it shows how you can download the GNU Hello program and build for your device <br><br>See log example:<pre>$ wget http://ftp.gnu.org/gnu/hello/hello-2.4.tar.gz$ tar xzvf hello-2.4.tar.gz$ cd hello-2.4$ ./configure --target=arm-none-linux-gnueabi --host=arm-none-linux-gnueabi$ make$ file src/hellosrc/hello: ELF 32-bit LSB executable, ARM, version 1 (TODOSYSV), for GNU/Linux 2.$ scp src/hello root@192.168.254.254:/home/root</pre>
=== Demos (version 20101124) ===
0
edits