Thanks. Now my question is: Will this override the 6.1 I have?
@edit
It doesn't. How do I uninstall/override the gcc 6.1?
Ga_Chittolina hasn't added any friends yet.
No latest visitors to show
08 May 2016 - 06:51 PM
Thanks. Now my question is: Will this override the 6.1 I have?
@edit
It doesn't. How do I uninstall/override the gcc 6.1?
08 May 2016 - 05:54 PM
@4144
Indeed, it did fail. This is what it returned:
[root@ ragnarok code]# g++ main.cpp -o main/usr/bin/ld: unrecognized option '-plugin'/usr/bin/ld: use the --help option for usage informationcollect2: error: ld returned 1 exit status
07 May 2016 - 10:52 PM
After make and make install:
echo "/usr/local/lib64" > usrLocalLib64.conf
sudo mv usrLocalLib64.conf /etc/ld.so.conf.d/
sudo ldconfigcd ~/
rm -rf sourceInstallations
PS: I followed this guide (from "Install a newer version of GCC from source" onwards): https://www.vultr.co...gcc-on-centos-6. Did all the steps but for the gcc 6.1 version.
07 May 2016 - 09:49 PM
Oh, I was doing some configs in another user, but yeah, both the users are in the same server and both return the same strings for gcc --version.
gcc --version and ./configure error strings:
Also, idk why the config.log was showing that gcc had the 4.4 version. Heres the one from the above ./configure:
07 May 2016 - 09:18 PM
Yeah, I did download and compile it manually. Here's the gcc --version output:
[root@ ragnarok rathenaTeste]# gcc --versiongcc (GCC) 6.1.0Copyright © 2016 Free Software Foundation, Inc.This is free software; see the source for copying conditions. There is NOwarranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Does this version work, or I have to use an older version of gcc? If so, can you tell me which version works?