I need to build u-boot on my CentOS 7 machine but encounter this:
*** Your GCC is older than 6.0 and is not supported
I've updated the installation on my machine but the current version is:
gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-36)
How do I go about updating gcc to version 6 or greater on my CentOS 7 machine? And do so safely?
On 9/11/19 9:05 AM, John Chludzinski wrote:
How do I go about updating gcc to version 6 or greater on my CentOS 7 machine? And do so safely?
The easiest way is going to be to use software collections:
https://www.softwarecollections.org/en/scls/rhscl/devtoolset-7/
devtoolset 7 will install gcc 7 in a directory in /opt, which will not conflict or interfere with existing system packages. When you want to use gcc 7, you'd start a new shell with a modified path and other environment variables using:
scl enable devtoolset-7 bash
$ sudo yum install devtoolset-7
Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile * base: mirror.vcu.edu * epel: mirror.siena.edu * extras: mirror.vcu.edu * updates: mirror.vcu.edu No package devtoolset-7 available. Error: Nothing to do
On Wed, Sep 11, 2019 at 12:17 PM Gordon Messmer gordon.messmer@gmail.com wrote:
On 9/11/19 9:05 AM, John Chludzinski wrote:
How do I go about updating gcc to version 6 or greater on my CentOS 7 machine? And do so safely?
The easiest way is going to be to use software collections:
https://www.softwarecollections.org/en/scls/rhscl/devtoolset-7/
devtoolset 7 will install gcc 7 in a directory in /opt, which will not conflict or interfere with existing system packages. When you want to use gcc 7, you'd start a new shell with a modified path and other environment variables using:
scl enable devtoolset-7 bash
CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Ooops! for to:
$ sudo yum install centos-release-scl-rh
On Wed, Sep 11, 2019 at 12:50 PM John Chludzinski john.chludzinski@gmail.com wrote:
$ sudo yum install devtoolset-7
Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile
- base: mirror.vcu.edu
- epel: mirror.siena.edu
- extras: mirror.vcu.edu
- updates: mirror.vcu.edu
No package devtoolset-7 available. Error: Nothing to do
On Wed, Sep 11, 2019 at 12:17 PM Gordon Messmer gordon.messmer@gmail.com wrote:
On 9/11/19 9:05 AM, John Chludzinski wrote:
How do I go about updating gcc to version 6 or greater on my CentOS 7 machine? And do so safely?
The easiest way is going to be to use software collections:
https://www.softwarecollections.org/en/scls/rhscl/devtoolset-7/
devtoolset 7 will install gcc 7 in a directory in /opt, which will not conflict or interfere with existing system packages. When you want to use gcc 7, you'd start a new shell with a modified path and other environment variables using:
scl enable devtoolset-7 bash
CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
On Wed, 11 Sep 2019, John Chludzinski wrote:
Ooops! for to:
$ sudo yum install centos-release-scl-rh
Ad-free, non-tracking blog post on using SCL packages:
https://www.madboa.com/blog/2016/08/29/scl-intro/
Nope. Did that too.
I’m up and running.
On Wed, Sep 11, 2019 at 13:06 Gordon Messmer gordon.messmer@gmail.com wrot
On 9/11/19 9:50 AM, John Chludzinski wrote:
$ sudo yum install devtoolset-7 No package devtoolset-7 available. Error: Nothing to do
You've skipped step #1: sudo yum install centos-release-scl
CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
I don't suppose there's a collection that contains a version 7 of the arm cross compiler: arm-linux-gnu-gcc ?
On Wed, Sep 11, 2019 at 1:09 PM John Chludzinski john.chludzinski@gmail.com wrote:
Nope. Did that too.
I’m up and running.
On Wed, Sep 11, 2019 at 13:06 Gordon Messmer gordon.messmer@gmail.com wrot
On 9/11/19 9:50 AM, John Chludzinski wrote:
$ sudo yum install devtoolset-7 No package devtoolset-7 available. Error: Nothing to do
You've skipped step #1: sudo yum install centos-release-scl
CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos