We have moved to a new Sailfish OS Forum. Please start new discussions there.
14

GCC Compiler for Uitukka 1.1.0.38 / 1.1.0.39 [not relevant]

asked 2014-10-27 18:23:06 +0300

sachin gravatar image

updated 2014-10-27 18:23:43 +0300

Just downloaded SDK Release 1410 for update 9 and I noticed the compiler is gcc 4.6.4. Is there a possibility of using a newer version of gcc. I have code that I'd like to port to the Jolla but it uses some of the C++11 features.

edit retag flag offensive reopen delete

The question has been closed for the following reason "question is not relevant or outdated" by r0kk3rz
close date 2015-09-01 17:58:28.157313

Comments

I use gcc 4.6.3 for some C++11 things on the raspberrypi (since it is the default compiler there). It is not feature complete but for me everything important has worked fine with regards to C++11. Try the "-std=c++0x" flag with g++ and see how it goes.

sunkan ( 2014-10-28 08:30:37 +0300 )edit

2 Answers

Sort by » oldest newest most voted
3

answered 2014-10-28 11:23:07 +0300

On the Mer project side, on which SailfishOS is built, people are trying to migrate to GCC 4.8. See https://build.merproject.org/package/show/mer-core:armv7hl:devel/gcc

edit flag offensive delete publish link more
2

answered 2014-10-27 20:57:46 +0300

midnightoil gravatar image

updated 2014-10-27 20:58:51 +0300

Similar questions have been asked about other GPL software components that Sailfish uses .... unfortunately I think the general consensus is that Jolla are very unlikely to make Sailfish more open in the near future (by using and conforming to GPL3 components). Newer versions of GCC compiler conform to GPL3 ... in short, we're likely to be stuck with some increasingly aged bits for a while

edit flag offensive delete publish link more

Comments

1

This is somewhat unfortunate and means that I'd have to move away from using the C++11 features.

sachin ( 2014-10-27 21:07:45 +0300 )edit

I would guess if my statement holds true, it's simply a case of the more open, the more work, and jolla have very limited man hours. it is rather unfortunate indeed

midnightoil ( 2014-10-27 21:15:09 +0300 )edit
5

@midnightoil: GCC and GPL3 has absolutely nothing to do with it not being updated (we can easily ship it without having to be bitten by some of the problematic issues related to GPL3) It is related to the scratchbox back-end that the SDK uses to cross-compile.

Philippe De Swert ( 2014-10-27 21:38:25 +0300 )edit

my bad, had assumed there might be issues as per a couple of other things

midnightoil ( 2014-10-27 22:20:57 +0300 )edit

Question tools

Follow
2 followers

Stats

Asked: 2014-10-27 18:23:06 +0300

Seen: 791 times

Last updated: Oct 28 '14