OESF Portables Forum
Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: jbruno on November 08, 2005, 04:49:18 pm
-
Is there a tutorial somewhere on how to get a SL6000 with a fresh rc12 install up to the point where I can create a simple "hello world" application?
The pdaXrom.org site docs concentrate on cross-compiling, but I'd like to get everything happening on the Zaurus, if possible, and I assume that's what the native environment is for, but I can't find setup documentation.
I'd appreciate any pointers.
-
I use a great little tutorial put together by chero
http://users.telenet.be/zaurususer/Chero/ (http://users.telenet.be/zaurususer/Chero/)
-Todd
-
You can simply install gcc and gcc-headers packages from the feed, edit a file.c and type
main()
{
printf("Hello World\n");
}
Save and compile the file with "gcc file.c". The compiled binary will be called "a.out".
You can then run your new application with "./a.out" or "/absolute/path/to/a.out"