E
E
Evgeny Ivanovich2019-11-21 01:28:54
GCC
Evgeny Ivanovich, 2019-11-21 01:28:54

Installing new compilers on CentOS6?

I have Centos 6 version, I need to build the project with the -std=gnu17 flag, devtoolset-2 is installed but it does not support standard 17, what should I do?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
J
jcmvbkbc, 2019-11-21
@jcmvbkbc

Build desired compiler with crosstool-NG?

C
CityCat4, 2019-11-21
@CityCat4

Build a new gcc. But for EL6 it's usually mission impossible. EL6 - it is already quite old and everything in it is outdated. Therefore, to build a new gcc, you will need to assemble another bunch of things along the way.
If there is no idiosyncrasy to systemd, switch to EL7/EL8. If there is - well, then look for it yourself, there are few distributions without this freak.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question