[Interest] How to create local mkspec for gcc5 compiler

Roland Winklmeier roland.m.winklmeier at gmail.com
Fri Mar 11 14:44:13 CET 2016


2016-03-10 14:50 GMT+01:00 Thiago Macieira <thiago.macieira at intel.com>:

> 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 as build chain.
> The
> > problem is that all binaries have '-5' as suffix (gcc-5, gcc-ar-5,
> > gcc-nm-5, ...).
>
> Another trick is to create a new dir with symlinks to the standard names
> and
> then simply set PATH to point to it.
>

update-alternatives was already a nice idea, but that is the winner because
I can configure it in QtCreator without a system wide effect.
Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20160311/6a0e208d/attachment.html>


More information about the Interest mailing list