Reply
Thread Tools
Posts: 838 | Thanked: 3,384 times | Joined on Mar 2009
#1
Here is native gcc-4.8.1 (released at 31.05.2013) for Fremantle. Download bz2-package here: https://drive.google.com/folderview?...1FISzZXc2M1RWc ( md5sum=e0643b49f4655e1a5bc15a4134a2bae2 ) and unpack it to the /opt . You can use it on device or on Scratchbox. Scratchbox is not preferred because cross compiler is so much faster than native arm to arm. And of course running compiler on N900 is not preferred either (low memory, low CPU, lack of full size keyboard/screen, mostly battery powered...)

Install:
libmpc2
libmpfr1ldbl
libgmp3c2
binutils2.22
(make-3.81)

Usage:
Code:
PATH=/usr/binutils2.22/bin/:$PATH:/opt/gcc-4.8/bin/
gcc or g++ ...

After first non-trivial test (with default configs) it produced bigger binary file than gcc-4.7.
-------
Compiling gcc-4.8.1on scratchbox (which have already gcc-4.7):

Code:
fakeroot apt-get install libmpc-dev libmpfr-dev libgmp3-dev

wget ftp://ftp.gwdg.de/pub/misc/gcc/releases/gcc-4.8.1/gcc-4.8.1.tar.bz2
tar xvf gcc-4.8.1.tar.bz2
mkdir build
cd build
../gcc-4.8.1/configure prefix=/opt/gcc-4.8 
make
make install

Last edited by AapoRantalainen; 2016-07-03 at 12:21. Reason: download link updated
 

The Following 16 Users Say Thank You to AapoRantalainen For This Useful Post:
Posts: 3,074 | Thanked: 12,960 times | Joined on Mar 2010 @ Sofia,Bulgaria
#2
@aapo - any chance to build a cross-compiler .deb for SB?
__________________
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,203 | Thanked: 3,027 times | Joined on Dec 2010
#3
might wanna see what the linaro guys are doing first.
 

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

Tags
fremantle, nokia n900

Thread Tools

 
Forum Jump


All times are GMT. The time now is 19:08.