maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   Maemo SDK + Linaro GCC/G++ 4.7.2 ... How? (https://talk.maemo.org/showthread.php?t=88520)

tanago 2013-01-04 20:49

Maemo SDK + Linaro GCC/G++ 4.7.2 ... How?
 
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

ade 2013-01-04 20:55

Re: Maemo SDK + Linaro GCC/G++ 4.7.2 ... How?
 
http://wiki.maemo.org/CSSU-thumb_too....7.2-linaro%29

AapoRantalainen 2013-01-04 20:55

Re: Maemo SDK + Linaro GCC/G++ 4.7.2 ... How?
 
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?

tanago 2013-01-04 20:57

Re: Maemo SDK + Linaro GCC/G++ 4.7.2 ... How?
 
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

tanago 2013-01-04 23:24

Re: Maemo SDK + Linaro GCC/G++ 4.7.2 ... How?
 
Quote:

Originally Posted by AapoRantalainen (Post 1311012)
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!

n900_ 2013-01-05 17:31

Re: Maemo SDK + Linaro GCC/G++ 4.7.2 ... How?
 
You can also install libfakeroot.deb from /scratchbox/compilers/linaro---/packages to fix fakeroot problems

AapoRantalainen 2013-01-05 20:00

Re: Maemo SDK + Linaro GCC/G++ 4.7.2 ... How?
 
Quote:

Originally Posted by n900_ (Post 1311189)
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.

reinob 2013-01-07 09:04

Re: Maemo SDK + Linaro GCC/G++ 4.7.2 ... How?
 
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.

freemangordon 2013-01-07 09:34

Re: Maemo SDK + Linaro GCC/G++ 4.7.2 ... How?
 
Quote:

Originally Posted by reinob (Post 1311806)
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 :)

reinob 2013-01-07 10:25

Re: Maemo SDK + Linaro GCC/G++ 4.7.2 ... How?
 
Quote:

Originally Posted by freemangordon (Post 1311818)
it is x86, no way :)

.. adding to my to-do list:
* cross-compile linaro gcc 4.7 to arm


All times are GMT. The time now is 16:12.

vBulletin® Version 3.8.8