Ripping mobility from the clutches of telecom
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?
| Print article | This entry was posted by miker on February 8, 2008 at 11:26 pm, and is filed under Maemo, Open Source, ThisIsMobility. Follow any responses to this post through RSS 2.0. You can leave a response or trackback from your own site. |


about 2 years ago
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.
about 2 years ago
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
about 2 years ago
I’m unable to find this, can you please describe a bit more detailed where you’d find GCC?
Thanks in advance,
K
about 2 years ago
Which version of the gcc is it?
about 2 years ago
gcc (GCC) 3.4.4 (release) (CodeSourcery ARM 2005q3-2)
about 2 years ago
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?
about 2 years ago
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
about 2 years ago
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.
about 2 years ago
It looks like a joke :( Nobody replied anything about repository.
about 2 years ago
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
about 2 years ago
This worked. Just ssh to root@localhost.
Then apt-get install gcc
No problems.
about 2 years ago
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.
about 2 years ago
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,