![]() |
Re: HOWTO: C/C++ compiling on the unit itself.
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 |
Re: HOWTO: C/C++ compiling on the unit itself.
Just one note; to get grep compiled I needed to use
./configure --host=arm-linux-gnueabi It couldn't detect what platform it was on. Also, you can also create links to egrep and fgrep as compiling this packages will give you all three egrep/fgrep/grep. Nathan. P.S. Is their some environmental variable I do need to set, so I do not have to use the --host, anyone know? |
Re: HOWTO: C/C++ compiling on the unit itself.
|
Re: HOWTO: C/C++ compiling on the unit itself.
Quote:
|
Re: HOWTO: C/C++ compiling on the unit itself.
|
Re: HOWTO: C/C++ compiling on the unit itself.
Looks like the lib6c version on the tablet isn't high enough for the program you want to use. You might want to try an older version of what you're wanting, as it probably has lower dependencies.
|
Re: HOWTO: C/C++ compiling on the unit itself.
where i can download gcc for C++,arm programming for my n900
|
All times are GMT. The time now is 20:13. |
vBulletin® Version 3.8.8