Native GCC on the N810
I started out trying to install the rtcomm update that gives all kinds of new protocol support to the built in messaging app. I was having install problems even with red pill mode on. Then when poking around in the app manager I saw an entry for gcc. gcc? Oh my dear, how pimp would that be? Hell yea:
There’s gcc, g++, and dev header installs for all kinds of stuff. Why was I not informed of this earlier?


February 9th, 2008 at 11:19 am
I saw that too - it appears the entire toolchain is there. It is one of the reasons I got a spare, in this case the n800 on sale plus a 16Gb SD card.
I do far too much on my n810 to be without one or the other for even a few hours.
But it would help if there was a meta-package that would install *everything*, the toolchain, automake/autoconf, libs, headers, etc.
I built GCC for my old Zaurus. For some programs, ./configure won’t work properly for cross compiling, and although it was slow, it was much faster than trying to get ./configure working.
February 9th, 2008 at 6:30 pm
I have a N800. The way it comes is not to useful. I am looking for compilers, something that can run csh, a way to run tcl/tk.
I am new to the N800, have programmed for many years on unix and now currently working on Window XP. Any ideas how I can develope on Windows and the transfer to N800, or is there a better way. I don’t have a Unix machine now and the N800 is to small to do developement on.
Thanks for any help.
Mark Sherman
February 10th, 2008 at 6:26 am
I’m unable to find this, can you please describe a bit more detailed where you’d find GCC?
Thanks in advance,
K
February 10th, 2008 at 6:40 am
Which version of the gcc is it?
February 11th, 2008 at 8:47 am
gcc (GCC) 3.4.4 (release) (CodeSourcery ARM 2005q3-2)
February 12th, 2008 at 1:19 am
I also can not find gcc :( I see only gcc-3.4-base from apt-cache search but this is other package).
Can you say what repository list do you have?
February 13th, 2008 at 12:21 am
Thanks for the heads up. I didn’t know the toolchain was available - it’s great not having to use scratchbox.
First thing I did was install gcc and the SDL-dev. Then wrote a simple SDL app that rendered to every pixel on the screen. Super easy.
Must resist spending too much time porting old code to the N800
February 17th, 2008 at 11:21 am
Very interested in gcc on the N810 as I have used it for years on Solaris. Could you let me know in in which repository you found it.
February 21st, 2008 at 1:34 am
It looks like a joke :( Nobody replied anything about repository.
February 21st, 2008 at 11:22 am
Hey Denis,
Heres my repos, no idea which one provides, make me proud and do at least a little something yourself and figure it out.
deb http://catalogue.tableteer.nokia.com/certified/ chinook user
deb http://catalogue.tableteer.nokia.com/non-certified/ chinook user
deb http://catalogue.tableteer.nokia.com/updates/chinook/ ./
deb http://repository.maemo.org/extras/ chinook free non-free
deb http://repository.maemo.org chinook free non-free
deb http://repository.maemo.org/extras chinook free non-free
deb http://www.cobb.uk.net/apt/ chinook user
deb http://maemo-hackers.org/apt/ chinook main
deb http://mg.pov.lt/770 chinook user other
deb http://www.fbreader.org/maemo chinook user
deb http://www.claws-mail.org/maemo chinook user
deb http://repository.maemo.org/extras-devel/ chinook free non-free
deb http://browser-extras.garage.maemo.org/browser-extras/ chinook browser-extras
March 21st, 2008 at 5:37 am
This worked. Just ssh to root@localhost.
Then apt-get install gcc
No problems.
June 21st, 2008 at 9:57 am
I’m intrigued, but very confused…
Somehow I’ve managed to get GCC on there, but in attempting to compile a helloworld.cpp, I find I’m missing cc1plus.
If I try hello.c instead, it skips looking for cc1plus, but then it turns out I’m missing things like sdtio.h and iostream. Is there anything else I can install, must configure, or should sprinkle with the ashes of burnt offerings?
My goal is to port lightweight SDL stuff to N810, but as you can see, I’m pretty lost, and running out of things to sacrifice. Any tips would be much appreciated.
August 12th, 2008 at 2:23 pm
you need to install some development packages in order to compile;
in particular libc6-dev and the kernel headers.
to port SDL stuff you will also need the sdl development packages,
try : apt-get install libsdl1.2-dev
once you have all the proper headers installed under /usr/include
it is quite straighforward to port any SDL piece of code,