<div dir="ltr"><span class="HcCDpe"><span class="EP8xU" style="color: rgb(0, 104, 28);">Hendrik,<br><br></span></span>I build my application exclusively on the device in c.<br>I have installed gcc and the primary development libraries required for my application and find the compile times for individual source files very acceptable.<br>
Of course when I need to rebuild the entire project I know its time to have a coffee, but thats not such a bad thing.<br><br>There are some things missing which prevent this approach from working in the general case:<br>primarily there is no autotools, so you cannot run configure on downloaded sources, and dpkg-* tools do not install without some major tweaking.<br>
<br>I have also installed and use c++ and vala on the device, however both of these take the incremental compilation time just above my frustration threshhold.<br><br>Also, if you go down this route, I suggest you use a removable memory card as your build location - it tents to be a vigerous process with lots of file writes along the way - you would not want to risk burning out your internal MMC card.<br>
<br>hth<br><br>Gary (lcuk on #maemo)<br><br><div class="gmail_quote">On Tue, Sep 23, 2008 at 4:48 PM, Eero Tamminen <span dir="ltr"><<a href="mailto:eero.tamminen@nokia.com">eero.tamminen@nokia.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br>
<div class="Ih2E3d"><br>
ext Hendrik Boom wrote:<br>
> Are there any ports available for programming languages so that<br>
> development can be done on the n800 itself? Programming in the wild, so<br>
> to speak, instead of cross-compiling at the desk?<br>
<br>
</div>Well, there are some interpreted languages that are installed<br>
by default on the device:<br>
- Busybox:<br>
- POSIX shell<br>
- Awk<br>
- Browser:<br>
- JavaScript<br>
- Flash action script<br>
<br>
All of them offer control structures, variables etc. For example shell:<br>
x=1; for i in $(seq 20); do x=$(($x+$x)); echo $x; done<br>
<div class="Ih2E3d"><br>
<br>
> I have hopes for gcc, or lisp, or something that can handle data<br>
> structures and static typing. I've noticed there are a bunch of guile<br>
> files as part of my n800 system. Is there also a standalone guile<br>
> interpreter?<br>
><br>
> I've seen a report that gcc runs out of memory rather quickly on an<br>
> n770. Does the same apply to n800? And which memory does it run out<br>
> of? RAM? swap? disk?<br>
<br>
</div>I would assume RAM. When compiling C++ code, GCC can in some cases<br>
take even half a gig of RAM. The development packages can take<br>
a bit of disk also.<br>
<div class="Ih2E3d"><br>
<br>
> It seems rather ridiculous that a machine with 258MB should have<br>
> insufficient storage for programming ... back in the 70's we could do<br>
> some pretty sophisticated stuff on Unix on a 64K PDP-11. Times sure<br>
> change, don't they?<br>
<br>
</div>Well, the GCC assembler doesn't require that much RAM, but its<br>
set of modern high level language abstractions is pretty spartan. ;-)<br>
<br>
<br>
For example Lua would be pretty small (also interpreted)<br>
and should be quite easy to build for the target device:<br>
<a href="http://www.lua.org/" target="_blank">http://www.lua.org/</a><br>
<br>
Python can be found from the repositories and it has bindings<br>
for Gtk, SDL etc.<br>
<font color="#888888"><br>
<br>
- Eero<br>
</font><div><div></div><div class="Wj3C7c">_______________________________________________<br>
maemo-developers mailing list<br>
<a href="mailto:maemo-developers@maemo.org">maemo-developers@maemo.org</a><br>
<a href="https://lists.maemo.org/mailman/listinfo/maemo-developers" target="_blank">https://lists.maemo.org/mailman/listinfo/maemo-developers</a><br>
</div></div></blockquote></div><br></div>