View Single Post
Posts: 839 | Thanked: 3,386 times | Joined on Mar 2009
#36
Originally Posted by freemangordon View Post
and this is supposed to be installed in scratchbox?
This is native ARM to ARM compiler. It works on scratchbox, but if you have working cross-compilation, this is not optimal solution.

It works on sb2 without hazzling.

Downloading packages:
Code:
wget http://cc.oulu.fi/~rantalai/fremantle/binutils_2.22-5_armel.deb
wget http://cc.oulu.fi/~rantalai/fremantle/cpp-4.6_4.6.1-maemo4_armel.deb
wget http://cc.oulu.fi/~rantalai/fremantle/g++-4.6_4.6.1-maemo4_armel.deb
wget http://cc.oulu.fi/~rantalai/fremantle/gcc-4.6-base_4.6.1-maemo4_armel.deb
wget http://cc.oulu.fi/~rantalai/fremantle/gcc-4.6-locales_4.6.1-maemo4_all.deb
wget http://cc.oulu.fi/~rantalai/fremantle/gcc-4.6-plugin-dev_4.6.1-maemo4_armel.deb
wget http://cc.oulu.fi/~rantalai/fremantle/gcc-4.6_4.6.1-maemo4_armel.deb
wget http://cc.oulu.fi/~rantalai/fremantle/libgcc1_4.6.1-maemo4_armel.deb
wget http://cc.oulu.fi/~rantalai/fremantle/libgomp1_4.6.1-maemo4_armel.deb
wget http://cc.oulu.fi/~rantalai/fremantle/libmudflap0_4.6.1-maemo4_armel.deb
wget http://cc.oulu.fi/~rantalai/fremantle/libstdc++6-4.6-dev_4.6.1-maemo4_armel.deb
wget http://cc.oulu.fi/~rantalai/fremantle/libstdc++6_4.6.1-maemo4_armel.deb
On sb1, it needs some tricks to get just installed binaries to work, because they are pointing to the sb_gcc_wrapper. Seems to me it needs tuning outside of scratchbox, something like this (for every binary?):
Code:
sudo rm /scratchbox/compilers/bin/gcc-4.6
sudo ln -s /scratchbox/users/`whoami`/targets/FREMANTLE_ARMEL/usr/bin/gcc-4.6 /scratchbox/compilers/bin/gcc-4.6
And installing on sb1 differs from sb2: gcc-4.6-base must be forced (I don't understand, they both have dpkg 1.14.25maemo3+0m5 )

Code:
scratchbox
fakeroot dpkg -i binutils_2.22-5_armel.deb 
#"package uses Breaks; not supported in this dpkg"
fakeroot dpkg -i --force-all gcc-4.6-base_4.6.1-maemo4_armel.deb
fakeroot dpkg -i cpp-4.6_4.6.1-maemo4_armel.deb g++-4.6_4.6.1-maemo4_armel.deb gcc-4.6_4.6.1-maemo4_armel.deb gcc-4.6-locales_4.6.1-maemo4_all.deb gcc-4.6-plugin-dev_4.6.1-maemo4_armel.deb libgomp1_4.6.1-maemo4_armel.deb libmudflap0_4.6.1-maemo4_armel.deb libstdc++6_4.6.1-maemo4_armel.deb libgcc1_4.6.1-maemo4_armel.deb libstdc++6-4.6-dev_4.6.1-maemo4_armel.deb

Last edited by AapoRantalainen; 2012-02-20 at 09:44.
 

The Following 5 Users Say Thank You to AapoRantalainen For This Useful Post: