Using newer gcc in /opt/netapps: Difference between revisions
Jump to navigation
Jump to search
(Snippet failed for 5.2 Now it works) |
(The script is not generic, provide a version-specific one in the gcc/5.2 dir) |
||
Line 1: | Line 1: | ||
[[Category:software-faq]] | [[Category:software-faq]] | ||
Gcc-5.2 is in /opt/netapps/gnu/gcc/5.2. In order for you to use it, this may have to be appended to your .profile | Gcc-5.2 is in /opt/netapps/gnu/gcc/5.2. In order for you to use it, this may have to be appended to your .profile: | ||
GCCSNIPPET=/opt/netapps/gnu/gcc/5.2/sourceme | |||
[ -r ${GCCSNIPPET} ] && . ${GCCSNIPPET} | |||
Please note: /opt is *NOT* in ld.so.conf, and should not be | Please note: /opt is *NOT* in ld.so.conf, and should not be | ||
== Later versions == | == Later versions == |
Revision as of 08:28, 18 August 2015
Gcc-5.2 is in /opt/netapps/gnu/gcc/5.2. In order for you to use it, this may have to be appended to your .profile:
GCCSNIPPET=/opt/netapps/gnu/gcc/5.2/sourceme [ -r ${GCCSNIPPET} ] && . ${GCCSNIPPET}
Please note: /opt is *NOT* in ld.so.conf, and should not be
Later versions
You may find that still later versions are available. Check /opt/netapps/gnu/gcc, and alter the above script by adjusting the line
GCCBASE="/opt/netapps/gnu/gcc/5.2"