Compiling on the N810

Compiling on the N810
wget http://repository.maemo.org/pool/maemo4.1.2/free/g/glibc/libc6-dev_2.5.0-1osso10_armel.deb wget http://repository.maemo.org/pool/maemo4.1.2/free/l/linux-kernel-headers/linux-kernel-headers_2.6.16.osso11-1_armel.deb wget http://repository.maemo.org/pool/maemo4.1.2/free/g/gcc-3.4/libgcc1_3.4.4cs2005q3.2-5.osso8_armel.deb dpkg -i gcc-3.4_3.4.4cs2005q3.2-5.osso8_armel.deb libc6-dev_2.5.0-1osso10_armel.deb linux-kernel-headers/linux-kernel-headers_2.6.16.osso11-1_armel.deb Nokia-N810-43-7:~# cat main.c int main { printf("hello world"); } Nokia-N810-43-7:~# gcc-3.4 -o greeter main.c Nokia-N810-43-7:~# ./greeter hello worldNokia-N810-43-7:~#
 * install openssh on the N810
 * Find out what maemo version you have. Choose Settings -> Control Panel -> About. If you get "Product maemo Linux based OS2008 Version:5.2008.43-7" this means maemo 4.1. So you have maemo, os2008 and diablo (more info).
 * download wget from http://repository.maemo.org/pool/maemo4.1.2/free/w/wget/. Copy it to your computer and scp it to your N810.
 * get glibc
 * get linux kernel headers
 * get libgcc
 * install everything
 * do the usual test
 * 1) include 