Activate GCC4.7
Activate GCC4.7
Hello,
I have installed GCC 4.7 but when I run gcc --version I get gcc 4.4, how activate 4.7 to use it?
I have CentOS 6.8.
Thank you
I have installed GCC 4.7 but when I run gcc --version I get gcc 4.4, how activate 4.7 to use it?
I have CentOS 6.8.
Thank you
Re: Activate GCC4.7
If that was from an SCL like devtools then you need to use the scl enable ... command
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
New GCC 4.8.5 problem
hello,
I have installed new gcc by compiling on my own, the new gcc make problem and I cant access to my PC.
the source http://jotmynotes.blogspot.com.es/2016/ ... os-67.html and see the last part(Check rpm installed) to understand.
Any idea to solve that?
Thank you
I have installed new gcc by compiling on my own, the new gcc make problem and I cant access to my PC.
the source http://jotmynotes.blogspot.com.es/2016/ ... os-67.html and see the last part(Check rpm installed) to understand.
Any idea to solve that?
Thank you
Re: Activate GCC4.7
Thank you very much it works well, but now I need version 4.8.5.
Re: Activate GCC4.7
Base system : gcc 4.4.7
devtoolset-3: gcc 4.9.2 (EOL since Oct 2016)
devtoolset-4: gcc 5.2.1
devtoolset-6: gcc 6.2.1
devtoolset-3: gcc 4.9.2 (EOL since Oct 2016)
devtoolset-4: gcc 5.2.1
devtoolset-6: gcc 6.2.1
Re: Activate GCC4.7
Devtoolset-2 includes gcc 4.8.2 and is still available. It was good enough to build RHEL 7.0, so it should be good enough for you, too. Gcc 4.8.5 isn't available for CentOS 6. But it's available as the system compiler in CentOS 7.3.
Re: Activate GCC4.7
thank you, now I have new problem please see viewtopic.php?f=13&t=62900&p=265164#p265164
-
- Posts: 519
- Joined: 2012/06/26 14:20:47
Re: Activate GCC4.7
Don't install from source. Use one of the devtoolset versions.
Re: Activate GCC4.7
That separate thread is now merged into this one since it's a continuation of the same thing. And, no, we don't support installing anything from source, let alone something like gcc. If it's broken your system either undo what you did or reinstall.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke