Active Topics

 


Reply
Thread Tools
Posts: 23 | Thanked: 16 times | Joined on Aug 2010 @ Bolivia
#1
Can I install a g++ 4.8+ compiler into Sailfish?

Did someone of you try it?
 
Posts: 1,298 | Thanked: 2,277 times | Joined on May 2011
#2
g++ 4.8 is present in Mer devel branch, so if you build against that, it should be possible:

http://repo.merproject.org/obs/mer-c...mv7hl/armv7hl/

What Mer branch is Sailfish based on? C++11 would be nice to have indeed.

Last edited by shmerl; 2013-12-09 at 23:59.
 

The Following User Says Thank You to shmerl For This Useful Post:
Community Council | Posts: 4,920 | Thanked: 12,867 times | Joined on May 2012 @ Southerrn Finland
#3
Originally Posted by ebasconp View Post
Can I install a g++ 4.8+ compiler into Sailfish?

Did someone of you try it?
4.6.4 is in the repos. Did not try to get a newer one...
 

The Following User Says Thank You to juiceme For This Useful Post:
w00t's Avatar
Posts: 1,055 | Thanked: 4,107 times | Joined on Oct 2009 @ Norway
#4
Toolchain upgrades are a bit scary. But we most likely won't be on 4.6 forever.
__________________
i'm a Qt expert and former Jolla sailor (forever sailing, in spirit).
if you like, read more about me.
if you find me entertaining, or useful, thank me. if you don't, then tell me why.
 

The Following 2 Users Say Thank You to w00t For This Useful Post:
Posts: 23 | Thanked: 16 times | Joined on Aug 2010 @ Bolivia
#5
Originally Posted by w00t View Post
Toolchain upgrades are a bit scary. But we most likely won't be on 4.6 forever.
Yeap. The good thing about g++ 4.8 is that implements all the C++11 features.
 
Posts: 1,298 | Thanked: 2,277 times | Joined on May 2011
#6
As a side question, how about llvm, clang and Rust for example?
 
Posts: 1,269 | Thanked: 3,961 times | Joined on May 2011 @ Brazil
#7
Tested on Sailfish @ N9 port, to install gcc/g++ 4.6.4 on Sailfish, use Terminal :
$ pkcon install gcc gcc-c++
gcc/g++ compiled well my C/C++ benchmark tests, which show a similar running performance on MeeGo Harmattan @ Nokia N9.
__________________
Python, C/C++, Qt and CAS developer. For Maemo/MeeGo/Sailfish :
Integral, Derivative, Limit - calculating mathematical integrals, derivatives and limits. SymPy - Computer Algebra System.
MatPlotLib - 2D & 3D plots in Python. IPython - Python interactive shell.
-- My blog about mobile & scientific computing ---
Sailfish : Sony Xperia X, Gemini, Jolla, Jolla C, Jolla Tablet, Nexus 4. Nokia N9, N900, N810.
 
Reply

Tags
c++11, compiler, install, jolla, sailfish


 
Forum Jump


All times are GMT. The time now is 20:20.