Thread
:
HOWTO: C/C++ compiling on the unit itself.
View Single Post
gregrob
2009-01-21 , 14:58
Posts: 1 | Thanked: 7 times | Joined on Jan 2009
#
21
I did this today, and had to update all of the WGETs to reflect the latest OS. As well the install for G++ had to be done simultaneously with the libc++-dev. Here is what I did:
wget
http://repository.maemo.org/pool/dia...sso8_armel.deb
wget
http://repository.maemo.org/pool/dia...sso8_armel.deb
wget
http://repository.maemo.org/pool/dia...sso8_armel.deb
wget
http://repository.maemo.org/pool/dia...sso8_armel.deb
wget
http://repository.maemo.org/pool/dia...sso8_armel.deb
wget
http://repository.maemo.org/pool/dia...so10_armel.deb
wget
http://repository.maemo.org/pool/dia...so10_armel.deb
wget
http://repository.maemo.org/pool/mae...11-1_armel.deb
wget
http://repository.maemo.org/pool/dia...sso1_armel.deb
dpkg -i binutils_2.16.91cs2005q3.2-5.osso1_armel.deb
dpkg -i linux-kernel-headers_2.6.16.osso11-1_armel.deb
dpkg -i libc6_2.5.0-1osso10_armel.deb
dpkg -i libc6-dev_2.5.0-1osso10_armel.deb
dpkg -i gcc-3.4_3.4.4cs2005q3.2-5.osso8_armel.deb
dpkg -i cpp-3.4_3.4.4cs2005q3.2-5.osso8_armel.deb
dpkg -i libstdc\+\+6_3.4.4cs2005q3.2-5.osso8_armel.deb
dpkg -i libstdc\+\+6-dev_3.4.4cs2005q3.2-5.osso8_armel.deb g++-3.4_3.4.4cs2005q3.2-5.osso8_armel.deb
apt-get -f install
apt-get install make
cd /usr/bin
ln -s g\+\+\-3.4 g\+\+
After this I also downloaded the source for grep-2.4 to replace the busybox grep. This helps compiling many other packages:
wget
http://mirror.csclub.uwaterloo.ca/gn...rep-2.4.tar.gz
gunzip -dc grep-2.4.tar.gz | tar -xv
cd grep-2.4/
./configure
make
make install
rm /bin/grep
ln -s /usr/local/bin/grep /bin/grep
Quote & Reply
|
The Following 7 Users Say Thank You to gregrob For This Useful Post:
archimage
,
haokah
,
Nathan
,
qwerty12
,
RogerS
,
skinny
,
vkv.raju
gregrob
View Public Profile
Find all posts by gregrob