Re: [Interest] How to create local mkspec for gcc5 compiler

2016-03-11 Thread Nye
Maybe, you could also create a "feature" for qmake and use it with CONFIG += myfeature. I've used this approach to keep the MPI wrapper compilers' configurations separate from the project files. On Fri, Mar 11, 2016 at 3:44 PM, Roland Winklmeier < roland.m.winklme...@gmail.com> wrote: > 2016-03-1

Re: [Interest] How to create local mkspec for gcc5 compiler

2016-03-11 Thread Roland Winklmeier
2016-03-10 14:50 GMT+01:00 Thiago Macieira : > On quinta-feira, 10 de março de 2016 12:43:30 PST Roland Winklmeier wrote: > > Dear list, > > > > I'm running on openSUSE Leap which has gcc 4.8.5 as system compiler but > > also offers gcc5 as parallel installation. Since I need a gcc version > > 4.9

Re: [Interest] How to create local mkspec for gcc5 compiler

2016-03-10 Thread Thiago Macieira
On quinta-feira, 10 de março de 2016 12:43:30 PST Roland Winklmeier wrote: > Dear list, > > I'm running on openSUSE Leap which has gcc 4.8.5 as system compiler but > also offers gcc5 as parallel installation. Since I need a gcc version > 4.9 > for certain C++14 features, I'm trying to use gcc5 now

Re: [Interest] How to create local mkspec for gcc5 compiler

2016-03-10 Thread Julius Bullinger
Hello Roland, one thing I’m doing as a workaround in this situation is changing the default compiler via the alternative system: sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 60 --slave /usr/bin/g++ g++ /usr/bin/g++-5 sudo update-alternatives --config gcc From this point

[Interest] How to create local mkspec for gcc5 compiler

2016-03-10 Thread Roland Winklmeier
Dear list, I'm running on openSUSE Leap which has gcc 4.8.5 as system compiler but also offers gcc5 as parallel installation. Since I need a gcc version > 4.9 for certain C++14 features, I'm trying to use gcc5 now as build chain. The problem is that all binaries have '-5' as suffix (gcc-5, gcc-ar-