[Interest] How to create local mkspec for gcc5 compiler

Thiago Macieira thiago.macieira at intel.com
Thu Mar 10 14:50:29 CET 2016


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.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Interest mailing list