[CSC 315] Accessing a newer C/C++ Compiler

Andrew J. Pounds pounds_aj at mercer.edu
Fri Aug 24 10:30:47 EDT 2018


AFTER you get logged onto the Unix systems in Godsey, please open your
favorite linux editor and cut/paste the following to the end of your
.bash_profile.

HOSTCLASS=$(hostname -f | cut -b -3) if [ "$HOSTCLASS" = "gsc" ]; then
    export PATH=/usr/local/gcc/6.4.0/bin:${PATH}:.     export
LD_LIBRARY_PATH=/usr/local/gcc/6.4.0/lib64:${LD_LIBRARY_PATH}     export
MANPATH=/usr/local/gcc/6.4.0/share/man:${MANPATH} fi


Then log off the system and log back in and type the command "gcc -v" in
a terminal window to verify that you are using the 6.4.0 compiler suite.



-- 
Andrew J. Pounds, Ph.D.  (pounds_aj at mercer.edu)
Professor of Chemistry and Computer Science
Mercer University,  Macon, GA 31207   (478) 301-5627
http://faculty.mercer.edu/pounds_aj

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://theochem.mercer.edu/pipermail/csc315/attachments/20180824/779a7c15/attachment.html>


More information about the csc315 mailing list