GNU Compiler Collections – Tesla

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.
Architecture :x86_64
Release :4.3.2
Language : The standard compiler includes front ends for
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
LIBRARY_PATH = $PATH:/usr/lib64:/usr/lib/gcc/x86_64 redhatlinux/4.3.2:/lib64:/lib
export LIBRARY_PATH
INCLUDE_PATH = $PATH:/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include
export INCLUDE_PATH

Run the command source ~/.bashrc

C Shell
Add the following lines in your .cshrcset

set PATH = ($PATH /usr/bin)
LIBRARY_PATH = ($PATH /usr/lib64 /usr/lib/gcc/x86_64-redhat-linux/4.3.2 /lib64 /lib)
set LIBRARY_PATH
INCLUDE_PATH = ($PATH = ($PATH /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include)
set INCLUDE_PATH

Run the command source ~/.cshrc

Documentation
1. GCC C/C++ Compiler
2. GCC Java
3. GCC Fortran

Report Problems to:
If you encounter any problem in using this software Please report to us at the following email address helpdesk.serc@iisc.ac.in or contact System Administrators #109 (SERC)