maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   Port of C++ compiler (https://talk.maemo.org/showthread.php?t=2915)

smith 2006-09-08 19:57

OK, if you buy one, there is a simple method:
1.- Create an ext2 partition on memory card (400MB)
2.- Download arm rootstrap here: http://repository.maemo.org/stable/2...-rootstrap.tgz
3.- Open rootstrap and save on memory card
4.- Finally, open xterm:
# cd <ext2_rootstrap_mount_point>
# chroot .
# g++ --version

You will need some standard utilities like make, find and grep (not busybox ones) in order to compile general sources tarballs. Also need to setup a swap partition (gc high memory pressure for 770)

It works, slow, but works, and without changing the real root filesystem. It also compiles GUI aplications...I use it for cross-compile some programs like live-f1 (at maemo app. catalog).

Smith.

BruceL 2006-09-11 14:16

Excellent! Thanks. I'll try to find one today.

Bruce

torx 2007-06-01 14:46

Re: Port of C++ compiler
 
Hi,

I have a N800 with os2007 and i am trying to do some c++ compiling on it, no heavy stuff just small files.

However, problem is, although apparently gcc-3.4-base is already installed by default, it says "command not found" when i invoke gcc in xterm. Also, the g++ package cannot be found in apt-cache.

Can someone give me a hand?


All times are GMT. The time now is 15:09.

vBulletin® Version 3.8.8