GNU Compiler Collection – Delta

Introduction

The GNU Compiler Collection (usually shortened to GCC) is a compiler system, produced by the GNU Project supporting various programming languages. GCC has been adopted as the standard compiler by most modern Unix-like computer operating systems with GNU/Linux. GCC has been ported to a wide variety of processor architectures, and is widely deployed as a tool in commercial, proprietary and closed source software development environments.

Vendor :GNU Compiler Collection.

Architecture :x86_64

Newly Installed GCC: 4.8.2new

Please set the below paths to use GCC 4.8.2,

For C-Shell users:

set path=(/opt/sourceInstallations/gcc_4_8_2_release_build/bin $path)
setenv LD_LIBRARY_PATH /opt/sourceInstallations/gcc_4_8_2_release_build/lib64

For Bash shell users:

export PATH=/opt/sourceInstallations/gcc_4_8_2_release_build/bin:$PATH
export LD_LIBRARY_PATH=/opt/sourceInstallations/gcc_4_8_2_release_build/lib64

Release : 4.4.6

Language :

The standard compiler includes front end for programming languages C, C++, Java and Fortran. The compilation commands for each of languages are as follows:

1. C – (gcc)
2. C++ – (g++)
3. Java – (gcj) and
4. Fortran (gfortran)

Environmental Setup

Bash Shell

Add the following lines in your .bashrc

export PATH=$PATH:/usr/bin
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib64:/usr/lib/gcc/x86_64-redhat-linux/4.4.6:/lib64:/lib

Run the command source ~/.bashrc

C Shell

Add the following lines in your .cshrc

set PATH=($PATH /usr/bin)
set LD_LIBRARY_PATH=($LD_LIBRARY_PATH/usr/lib64/usr/lib/gcc/x86_64-redhatlinux/4.4.6/lib64 /lib)

Run the command source ~/.cshrc

Documentation

1. GCC C/C++ Compiler

2. GCC Fortran

3.GCC Java

Report Problems to:

If you encounter any problem in using this software please report to SERC helpdesk at the email address helpdesk.serc@auto.iisc.ac.in or contact System Administrators in #103 (SERC)