Reply
Thread Tools
Posts: 12 | Thanked: 8 times | Joined on Oct 2009
#1
Since I got my N900 roughly one month ago I had pretty little time to seriously play with it. But my first uncertain steps were hampered by the sad fact that, once gcc, cpp, ld, libc and friends were installed, I had no more space to install anything else in the scarce root partition of the device. The whole development environment should be optified.
I now returned to http://repository.maemo.org/pool/fre...free/g/gcc-4.2 to have a look, but no new version has appeared there since last November.
Comfortable compiler usage is possibly the first element towards effective development efforts. Where should I knock/whine to foster this progress for mankind?
 
Posts: 2,152 | Thanked: 1,490 times | Joined on Jan 2006 @ Czech Republic
#2
Compiler is not meant to be run on the device so chances of optification is zero or less. what you can do instead is to copy system to big partition on microsd card and boot form it. You will have plenty of space and also better recovery possibilities when you try crazy stuff like replacing busybox with real tools.
__________________
Newbies click here before posting. Thanks.

If you really need to PM me with troubleshooting question please consider posting it to the forum instead. It is OK to PM me a link to such post then. Thank you.
 
Posts: 755 | Thanked: 406 times | Joined on Feb 2008 @ UK
#3
Another option is running it through a chrooted environment. There are a couple of threads on compiling/programming on the device itself.
 
Posts: 12 | Thanked: 8 times | Joined on Oct 2009
#4
Originally Posted by fanoush View Post
Compiler is not meant to be run on the device
Why?!? Certainly the compiler is not blindingly fast, but it is quite satisfactory (faster than the fortran compiler of my early days, that's for sure).

I certainly can set up the complete development environment in my ext-3-formatted microsd card (in part I did it already), but I did not want to break all connections with the official development environment. I am stunned at this reply. I would have preferred to read that optification of the development tools is delayed due to lack of time, or resources. The first thing I did when I got my N900 was to load the compiler and tools, and I was REALLY disppointed when I found that available space on the main partition dropped to less than 10%.

I think that the possibility to develop phone applications on the phone itself can be a strong selling point, and it should be officially encouraged.
 
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#5
Originally Posted by fluido View Post
Why?!?
Because that repository, known as the SDK Repository, is for the SDK; not the device.
 

The Following User Says Thank You to qwerty12 For This Useful Post:
benny1967's Avatar
Posts: 3,790 | Thanked: 5,718 times | Joined on Mar 2006 @ Vienna, Austria
#6
in other words, fluiodo, it's not that you are not meant to run a compiler on the N900 and use the device itself as your environment for development. - it's that this particular package is meant to run as part of the SDK and therefore shouldn't be subject to changes that aren't needed there.

i do agree with you that it would be very cool to have all these tools optified in extras. but that would be different packages then.
 

The Following User Says Thank You to benny1967 For This Useful Post:
Posts: 9 | Thanked: 0 times | Joined on Apr 2010
#7
so can someone optify the sdk tools and upload to the repository?
 
Posts: 2,225 | Thanked: 3,822 times | Joined on Jun 2010 @ Florida
#8
One would think someone would get around to doing this by now... I've been manually optifying after installing the compiler and relevant development libs since I started putting the sdk tools on my N900. It's only a couple of minutes of work but it's a pain for sure.
 
casketizer's Avatar
Posts: 566 | Thanked: 282 times | Joined on Sep 2010 @ Lower Saxony
#9
I totally agree.
 
Posts: 298 | Thanked: 197 times | Joined on Dec 2009 @ Norway
#10
I have full support for compiling apps on my N900. I have qmake, make and cmake, all working just fine. I also have gcc and g++. So far, I've managed to compile Fotowall and a couple more apps made in Qt.
This was done in a chroot, where the rootfs has grown to blazing 1Gb because of depencies. In short: do not try to take on the task of optifying all those *-dev packages, it's madness, and will most likely brick your N900 due to un-optified packages. Keep them compilers in chroots. (There's nothing bad with a chroot. They can even interact with the X server and create windows, if you make the correct one. I built one off of a clean image of Maemo 5.)
Chroots FTW!
 
Reply


 
Forum Jump


All times are GMT. The time now is 10:45.