Reply
Thread Tools
tanago's Avatar
Posts: 215 | Thanked: 448 times | Joined on Aug 2012 @ Burgas, Bulgaria
#1
I see some users compiling apps for Maemo 5 with Linaro gcc & g++ v4.7.2 but it seems that I cant find the method to install it and I'm running the built-in v4.2 which has lots of bugs. How can I install these compilers?
Thanks in advance
 
Posts: 1,100 | Thanked: 2,797 times | Joined on Apr 2011 @ Netherlands
#2
 

The Following User Says Thank You to ade For This Useful Post:
Posts: 838 | Thanked: 3,384 times | Joined on Mar 2009
#3
http://wiki.maemo.org/CSSU-thumb_too....7.2-linaro%29

EDIT:
I just tested this Document with fresh scratchbox [ http://wiki.maemo.org/Documentation/...K_Installation ]. I think I haven't done this step before (but now I did it) "sed -i -e 's/etch/squeeze/g' maemo-sdk-install_5.0.sh"

Setting linaro target fails with
Code:
[sbox-FREMANTLE_ARMEL_GCC472: ~] > fakeroot apt-get install maemo-sdk-debug
fakeroot: preload library `libfakeroot-sysv.so' not found, aborting.
And fix/workaround is (outside of scratchbox):
Code:
mkdir /scratchbox/users/rantalai/targets/FREMANTLE_ARMEL_GCC472/usr/lib/libfakeroot
cp /scratchbox/users/rantalai/targets/FREMANTLE_ARMEL/usr/lib/libfakeroot/* /scratchbox/users/rantalai/targets/FREMANTLE_ARMEL_GCC472/usr/lib/libfakeroot
Did you have this issue?

Last edited by AapoRantalainen; 2013-01-04 at 21:48. Reason: issue with fakeroot
 

The Following 3 Users Say Thank You to AapoRantalainen For This Useful Post:
tanago's Avatar
Posts: 215 | Thanked: 448 times | Joined on Aug 2012 @ Burgas, Bulgaria
#4
oh my *** i was searching 2 hours and i didnt find that page, BIG thank you guys!
Looks like thats because of the wiki.maemo.org being moved and invisible for google

Last edited by tanago; 2013-01-04 at 23:24.
 
tanago's Avatar
Posts: 215 | Thanked: 448 times | Joined on Aug 2012 @ Burgas, Bulgaria
#5
Originally Posted by AapoRantalainen View Post
http://wiki.maemo.org/CSSU-thumb_too....7.2-linaro%29

EDIT:
I just tested this Document with fresh scratchbox [ http://wiki.maemo.org/Documentation/...K_Installation ]. I think I haven't done this step before (but now I did it) "sed -i -e 's/etch/squeeze/g' maemo-sdk-install_5.0.sh"

Setting linaro target fails with
Code:
[sbox-FREMANTLE_ARMEL_GCC472: ~] > fakeroot apt-get install maemo-sdk-debug
fakeroot: preload library `libfakeroot-sysv.so' not found, aborting.
And fix/workaround is (outside of scratchbox):
Code:
mkdir /scratchbox/users/rantalai/targets/FREMANTLE_ARMEL_GCC472/usr/lib/libfakeroot
cp /scratchbox/users/rantalai/targets/FREMANTLE_ARMEL/usr/lib/libfakeroot/* /scratchbox/users/rantalai/targets/FREMANTLE_ARMEL_GCC472/usr/lib/libfakeroot
Did you have this issue?
That was just what I would ask, cuz I ran into that error, Thank you BIG time!
 
Posts: 77 | Thanked: 93 times | Joined on Aug 2011
#6
You can also install libfakeroot.deb from /scratchbox/compilers/linaro---/packages to fix fakeroot problems
 

The Following 2 Users Say Thank You to n900_ For This Useful Post:
Posts: 838 | Thanked: 3,384 times | Joined on Mar 2009
#7
Originally Posted by n900_ View Post
You can also install libfakeroot.deb from /scratchbox/compilers/linaro---/packages to fix fakeroot problems
Yes, you are right, this would be better way:
Code:
dpkg -i /scratchbox/compilers/linaro-4.7-2012.07-fremantle-armv7a/packages/libfakeroot_1.14.4-0+sb1_armel.deb
e.g. if some package depends libfakeroot, it is now seen as installed.
 

The Following User Says Thank You to AapoRantalainen For This Useful Post:
Posts: 1,808 | Thanked: 4,272 times | Joined on Feb 2011 @ Germany
#8
question: has anybody tried setting up gcc 4.7.2 on the N900 itself?

I have to look at the .tar.bz2 but I guess if it works in scratchbox it works on the N900.
 

The Following User Says Thank You to reinob For This Useful Post:
Posts: 3,074 | Thanked: 12,960 times | Joined on Mar 2010 @ Sofia,Bulgaria
#9
Originally Posted by reinob View Post
question: has anybody tried setting up gcc 4.7.2 on the N900 itself?

I have to look at the .tar.bz2 but I guess if it works in scratchbox it works on the N900.
it is x86, no way
__________________
Never fear. I is here.

720p video support on N900,SmartReflex on N900,Keyboard and mouse support on N900
Nothing is impossible - Stable thumb2 on n900

Community SSU developer
kernel-power developer and maintainer

 

The Following 2 Users Say Thank You to freemangordon For This Useful Post:
Posts: 1,808 | Thanked: 4,272 times | Joined on Feb 2011 @ Germany
#10
Originally Posted by freemangordon View Post
it is x86, no way
.. adding to my to-do list:
* cross-compile linaro gcc 4.7 to arm
 

The Following 4 Users Say Thank You to reinob For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 04:14.