The following features of the C++11/C++14 standards are not supported by g++: * std::make_unique function (C++14) * digit separators (C++14) * binary literals (C++14) * generic lambdas (C++14) If you are using the GNU C compiler collection (gcc) then you need at least v4.9.x. configure: error: support for required C++11/C++14 features incomplete Is there by chance a compat package for gcc 4.9.x available? I didn't see it in a yum list. I'm trying to build the latest mkvtoolnix and it looks like CentOS 7 gcc is just barely too old :-/
On 02/05/2017 05:33 PM, Alice Wonder wrote:> Is there by chance a compat package for gcc 4.9.x available?Yes. Use the software collections. https://www.softwarecollections.org/en/ https://www.softwarecollections.org/en/scls/rhscl/devtoolset-4/ yum install centos-release-scl && yum install devtoolset-4
On 02/05/2017 05:46 PM, Gordon Messmer wrote:> On 02/05/2017 05:33 PM, Alice Wonder wrote: >> Is there by chance a compat package for gcc 4.9.x available? > > > Yes. Use the software collections. > > https://www.softwarecollections.org/en/ > > https://www.softwarecollections.org/en/scls/rhscl/devtoolset-4/ > > > yum install centos-release-scl && yum install devtoolset-4 >Where are src.rpm's ? The source link brings me to a github
On Sun, 5 Feb 2017, Gordon Messmer wrote:> Yes. Use the software collections. > > https://www.softwarecollections.org/en/ > > https://www.softwarecollections.org/en/scls/rhscl/devtoolset-4/There are three ways to utilize SCLs: a temporary subshell invoked with the scl utility, a session-long environment shift by sourcing the package's 'enable' script, or a permanent alteration of your shell profile to include the package's bin/ and lib/ directories. I outline the first two methods in a blog post you may find helpful: https://www.madboa.com/blog/2016/08/29/scl-intro/ (There's no advertising on my site and I make no revenue from it.) -- Paul Heinlein <> heinlein at madboa.com <> http://www.madboa.com/