OlinuxIno
x-tools
GAFFE: le dossier perd eses autorisation si il est placé sur un disque NTFS!
une page concirrente
à évaluer
Here is my road-map
download a Linux Live 64 bits: (for me: Ubuntu 12.04)
burn the .iso file on a CD (700 Mo )
boot a 64 bits capable computer with this CD
Mine is Dell Vostro 1720 (in true life XP/Seven)
DON'T INSTALL Ubuntu, Just "TRY"
Download ready to use Cross-compiler
explode the archive
using the ubuntu tool:
CAUTION: the exploded folder MUST be on disk with authorization !, with linux live, eg. use the Desktop!
locate the box "x-tools-tar-xz" in the download folder
drag the
x-tools folder on your Desktop
explode it, in place.
Create hello.c file
#include <stdio.h>
main() {
printf("Hello World, \n");
printf("I am Olinuxino.\n");
}
Open terminal window:
- open "dash Home". in upper left corner
- search for "terminal"
- open "Terminal"
compile using the X compile (called by explicit path) (later you will update PATH environment)
~/Desktop/x-tools/arm-unknown-linux-gnueabi/bin/gcc -o hello hello.c
les plus feignants frapperont:
~/D*/x*/a*/bin/gcc -o hello hello.c
Try running hello:
./hello
the good answer is "cannot execute binary file (of course, you are not running ARM computer)
move the file hello to the OlinuxIno board
for me:
I uploaded the file on a server
Loading on OlinuxInoMaxi:
GAFFE chmod +ax ne semble pas exister
./hello
and the answer is:
Hello World,
I am Olinuxino.
fine!.
As didn't said Neil Armstrong:
"That's one small step for mankind, one giant leap for me."