|
2018-01-21
, 14:24
|
Posts: 3,328 |
Thanked: 4,476 times |
Joined on May 2011
@ Poland
|
#12
|
|
2018-02-13
, 08:14
|
Posts: 1,414 |
Thanked: 7,547 times |
Joined on Aug 2016
@ Estonia
|
#14
|
http://repo.merproject.org/obs/home:...mv7hl/armv7hl/ ready ^_^
|
2018-02-13
, 08:35
|
Posts: 60 |
Thanked: 459 times |
Joined on Jan 2017
@ Innopolis, Russia
|
#15
|
|
2018-02-14
, 08:01
|
Posts: 3,328 |
Thanked: 4,476 times |
Joined on May 2011
@ Poland
|
#16
|
|
2018-02-14
, 15:55
|
Posts: 60 |
Thanked: 459 times |
Joined on Jan 2017
@ Innopolis, Russia
|
#17
|
|
2018-09-22
, 21:48
|
Posts: 592 |
Thanked: 1,167 times |
Joined on Jul 2012
|
#18
|
The Following User Says Thank You to tortoisedoc For This Useful Post: | ||
Some notes:
* In YAML (https://github.com/rinigus/mapbox-de...pbox-sfos.yaml), add opt-gcc6 as PkgBR
* Project file (https://github.com/rinigus/mapbox-de...apbox-sfos.pro) has compilers and linkers defined to /opt/gcc6/bin/g++ .
* For C++14, add c++14 in CONFIG of the project file.
* In project file, you could either opt for static or shared linking with stdc++. Static linking (as in the current version of pro file, see LIBS var) makes it easier to distribute, may have some side effects. Sometimes, as when developing QML plugin, static is the only way to go.
* Desktop file (https://github.com/rinigus/mapbox-de...x-sfos.desktop) has an application switched to "generic" to avoid silica boosters getting confused with the wrong stdc++ library version (dynamic link to stdc++) or inability to send signals (static link to stdc++).
* If you went for shared stdc++ build, add
* See https://github.com/rinigus/mapbox-de...sfos-rpmlintrc if you get into trouble with OBS.
For me, it all worked and I could compile and distribute program with gcc 6.4.0 as well as QML plugin compiled using similar approach. I believe that this is a viable solution and should allow to port the software that requires recent gcc version.