Hi,
Programing directly on the device is interresting. Maybe porting TCC
Tiny C Compiler http://fabrice.bellard.free.fr/tcc/ is appropriate. I
use it all the time to do small applications on my desktop computer.
It's blazing fast and allow to use C file as you use script. It is not
fully compatible with GCC, but far enough for everyday use to me.
But I must say that the first thing that prevent to use the device to do
programm is the lack of a good editor adatpted to it. The Note
application is unusable to do code and editor in xterm are very annoying
because there heavly use CTRL ou ESC that are not easly to do on the device.
--
Eero Tamminen a écrit :
Hi,
ext Paule Ecimovic wrote:
Thanks for this link to the Maemo 2.1 SDK. This is full of useful
programming examples, although I am looking for gcc to run from the
Nokia 770 itself from within an osso-xterm in order to be able to
compile, link, and run programs right from and on the device, just
like on a desktop linux box. I would like to skip the external linux
box though.
I think that if you want e.g. to compile C++ code with GCC
on the device, you might need to use swap. Some C++ files
can make GCC to take a lot of RAM.
You should also note that the device has Busybox, not the normal
GNU coreutils/fileutils/textutils. If the source uses GNU
Autotools for configuring itself, you can run to very wierd
problems because Busybox is not 100% compatible with the GNU
utilities. And if you want to build Debian source packages,
the device of course doesn't have -dev packages or the Debian
tools for that.
However, all of this is easy to do in Scratchbox (Maemo SDK).
- Eero
_______________________________________________
maemo-users mailing list
[email protected]
https://maemo.org/mailman/listinfo/maemo-users
--
Jean-Christian de Rivaz
_______________________________________________
maemo-users mailing list
[email protected]
https://maemo.org/mailman/listinfo/maemo-users