[Halld-offline] gcc 4.9

Curtis A. Meyer cmeyer at cmu.edu
Thu Mar 3 16:26:08 EST 2016


Hi Nathan -

when you build something with gcc-4.9 using scl tools, do you have to do anything
special with your environment to run the program, or does it know about the 
correct path for shared libraries?

Curtis
---------
Curtis A. Meyer			MCS Associate Dean for Faculty and Graduate Affairs
Wean:    (412) 268-2745	Professor of Physics
Doherty: (412) 268-3090	Carnegie Mellon University
Fax:         (412) 681-0648	Pittsburgh, PA 15213
curtis.meyer at cmu.edu	http://www.curtismeyer.com/



> On Mar 3, 2016, at 10:37 AM, Nathan Sparks <nsparks at jlab.org> wrote:
> 
> Devtoolset-4 is not yet available for CentOS, but it is available for RedHat.
> https://access.redhat.com/documentation/en-US/Red_Hat_Developer_Toolset/4/html-single/4.0_Release_Notes/index.html <https://access.redhat.com/documentation/en-US/Red_Hat_Developer_Toolset/4/html-single/4.0_Release_Notes/index.html>
> 
> Browsing the web, it looks like CentOS folks are working on packaging Devtoolset-4, and it should be available soon (within a month or so).
> -Nathan
>> On Mar 3, 2016, at 6:27 AM, Curtis A. Meyer <cmeyer at cmu.edu <mailto:cmeyer at cmu.edu>> wrote:
>> 
>> I think that if you use the -4 versions and not the -3 versions, you get gcc-5
>> 
>> curtis
>> ---------
>> Curtis A. Meyer			MCS Associate Dean for Faculty and Graduate Affairs
>> Wean:    (412) 268-2745	Professor of Physics
>> Doherty: (412) 268-3090	Carnegie Mellon University
>> Fax:         (412) 681-0648	Pittsburgh, PA 15213
>> curtis.meyer at cmu.edu <mailto:curtis.meyer at cmu.edu>	http://www.curtismeyer.com/ <http://www.curtismeyer.com/>
>> 
>> 
>> 
>>> On Mar 2, 2016, at 10:50 PM, Nathan Sparks <nsparks at jlab.org <mailto:nsparks at jlab.org>> wrote:
>>> 
>>> Hi All,
>>> 
>>> I made a brief guide on how to install gcc-4.9.2 using software collections. It follows the instructions from the link provided by Curtis.
>>> https://halldweb.jlab.org/wiki/index.php/Installing_a_Modern_GCC_Quickly_with_Software_Collections <https://halldweb.jlab.org/wiki/index.php/Installing_a_Modern_GCC_Quickly_with_Software_Collections>
>>> These instructions have been tested by me on CentOS 6, but should also work on RHEL 6. 
>>> Please let me know if you have any questions.
>>> 
>>> Best regards,
>>> -Nathan
>>>> On Mar 2, 2016, at 9:50 PM, Curtis A. Meyer <cmeyer at cmu.edu <mailto:cmeyer at cmu.edu>> wrote:
>>>> 
>>>> This looks like gcc 4.9 is available as part of the devtoolset-3 packages as
>>>> rpms for RHEL6 … The latter link has pretty simple instructions for both 
>>>> RHEL6 and CENTOS6
>>>> 
>>>> https://rhn.redhat.com/errata/RHBA-2015-2026.html <https://rhn.redhat.com/errata/RHBA-2015-2026.html>
>>>> 
>>>> https://www.softwarecollections.org/en/scls/rhscl/devtoolset-3/ <https://www.softwarecollections.org/en/scls/rhscl/devtoolset-3/>
>>>> 
>>>> ---------
>>>> Curtis A. Meyer			MCS Associate Dean for Faculty and Graduate Affairs
>>>> Wean:    (412) 268-2745	Professor of Physics
>>>> Doherty: (412) 268-3090	Carnegie Mellon University
>>>> Fax:         (412) 681-0648	Pittsburgh, PA 15213
>>>> curtis.meyer at cmu.edu <mailto:curtis.meyer at cmu.edu>	http://www.curtismeyer.com/
>>>> 
>>>> 
>>>> 
>>>> 
>>>> _______________________________________________
>>>> Halld-offline mailing list
>>>> Halld-offline at jlab.org
>>>> https://mailman.jlab.org/mailman/listinfo/halld-offline
>>> 
>> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.jlab.org/pipermail/halld-offline/attachments/20160303/1beb3b4e/attachment-0002.html>


More information about the Halld-offline mailing list