Reply
Thread Tools
Posts: 2 | Thanked: 0 times | Joined on Jul 2010
#1
Hi,
I am a python developer and I want to start developing some cpp programs so I'm looking for a cpp compiler or an IDE that runs on the n900 itself. However there isn't any cpp compiler in the maemo repositorys (I tried searching for gcc...).
So if someone know a cpp or an IDE compiler that can run on the n900 (maemo or easy debian) please tell me.

Last edited by dingo; 2010-08-14 at 18:42.
 
Posts: 143 | Thanked: 99 times | Joined on Jun 2009 @ Houston
#2
Originally Posted by dingo View Post
Hi,
I am a python developer and I want to start developing some cpp programs so I'm looking for a cpp compiler or an IDE that runs on the n900 itself. However there isn't any cpp compiler in the maemo repositorys (I tried searching for gcc...).
So if someone know a cpp or an IDE compiler that can run on the n900 (maemo or easy debian) please tell me.
The problem is that the root partition on the N900 is too small for all the development tools needed. You'd have to do something like this, which is really not for the faint of heart. Why don't you install Nokia's SDK on your computer, and start out using MADDE? it works really well.
 
daperl's Avatar
Posts: 2,427 | Thanked: 2,986 times | Joined on Dec 2007
#3
I build, not just compile, Maemo 5 and debian packages on my device all the time.

If you think you're up to it, and you want a full SDK on your device, do the following:

WARNING: This is an advanced topic. Use at your own risk.

Code:
apt-get install easy-chroot lzma
wget http://qole.org/files/maemo-sdk-v1_2.img.ext2.lzma
Click on the link in my sig and substitute:

Code:
lzma -d maemo-sdk-v1_2.img.ext2.lzma
for the line:

Code:
7z e maemo-sdk-v1_2.img.ext2.lzma
If you're having problems, read and reread the thread from my sig link.

Good luck!
__________________
N9: Go white or go home
 

The Following 3 Users Say Thank You to daperl For This Useful Post:
Posts: 2 | Thanked: 0 times | Joined on Jul 2010
#4
daperl: I tried and it works. Tanks!
btw, can gcc compile c++ in addition to c?

edit: figured, with g++

Last edited by dingo; 2010-08-14 at 20:24.
 
daperl's Avatar
Posts: 2,427 | Thanked: 2,986 times | Joined on Dec 2007
#5
Originally Posted by dingo View Post
daperl: I tried and it works. Tanks!
btw, can gcc compile c++ in addition to c?
g++ is the name of the c++ compiler.
__________________
N9: Go white or go home
 

The Following User Says Thank You to daperl For This Useful Post:
wicket's Avatar
Posts: 634 | Thanked: 3,266 times | Joined on May 2010 @ Colombia
#6
Hi,

I've recently been experimenting with building under Easy Debian. It's great because if I'm missing a dependent development library I can easily run "apt-get install" to install them. The binaries appear to run perfectly under native Maemo providing I also copy across any dependent libraries identified by ldd.

Ultimately I may have a go at packaging something up to go into Extra-devel. Can someone tell me if I am missing anything significant by not using the Maemo SDK? Would I be better off to install it?

wicket
 
clasificado's Avatar
Posts: 466 | Thanked: 180 times | Joined on Feb 2010
#7
not really, if you know what you are doing

at last, if you need to compile something really big like the kernel, or mono-project, you will need your desktop pc, so then you may need all that
 

The Following User Says Thank You to clasificado For This Useful Post:
Posts: 415 | Thanked: 732 times | Joined on Jan 2009 @ Finland
#8
I played around with an idea of turning the device into a build server some time ago

Basically I just removed everything I didn't need, enabled SDK repos in the device and installed what I needed. Easy and it works. Problems are rootfs space and speed. I compiled git in the device just to try that it's possible but didn't do much else with the setup. It's a pretty useless setup anyway
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 19:07.