View Single Post
lcuk's Avatar
Posts: 1,635 | Thanked: 1,816 times | Joined on Apr 2008 @ Manchester, England
#9
yes, but on a default n900 its won't work without some cleaning (for the reason see optification)
follow pycages advice, do not do this if you don't know how to cure any problems.

that out of the way,

i generally add the repo
deb http://repository.maemo.org fremantle/sdk free non-free

then
apt-get update
apt-get install build-essential

then remove the repo again and apt-get update once again.

as I say, it will fail because its large, but its the full set of things required for on device compilation

The following extra packages will be installed:
binutils bzip2 cpio cpp cpp-4.2 dpkg-dev g++ g++-4.2 gcc gcc-4.2 gcc-4.2-base libc6 libc6-dev libgcc1 libgomp1 libstdc++6 libstdc++6-4.2-dev
libtimedate-perl linux-kernel-headers make patch perl perl-modules


note, this doesnt bring in autotools or dpkg
so no ./configure stage works, and no dpkg-buildpackage will run.
(normal make files and find an alternative for packaging)

if you don't need them and can work with makefiles its certainly usable and fast.
if you need -dev headers for libraries, expect even more space, I find nowadays I can get by mostly with libliqbase-dev

hth
__________________
liqbase sketching the future.
like what i say? hit the Thanks, thanks!
twitter.com/lcuk
 

The Following 15 Users Say Thank You to lcuk For This Useful Post: