gcc

Warewulf 3 gcc

compilers/gcc/4.4.6 modulefile

#%Module1.0#####################################################################
##
## modules compilers/gcc/4.4.6
##
## modulefiles/compilers/gcc/4.4.6  Written by Jeff Layton
##
proc ModulesHelp { } {
   global version modroot

   puts stderr “”
   puts stderr “The compilers/gcc/4.4.6 module enables the GNU family of”
   puts stderr “compilers that came by default in Scientific Linux 6.2. Since”
   puts stderr “the compilers are already in the standard path, only”
   puts stderr “additional environment variables are defined.”
   puts stderr “”
   puts stderr “\$CC\t\t(uses gcc for compiling C          )”
   puts stderr “\$CXX\t\t(uses g++ for compiling C++        )”
   puts stderr “\$FC\t\t(uses gfortran for compiling F90   )”
   puts stderr “\$F90\t\t(uses gfortran for compiling F90   )”
   puts stderr “\$F77\t\t(uses gfortran for compiling F77   )”
   puts stderr “ “
   puts stderr “See the man pages for gcc, g++, and gfortran for more”
   puts stderr “detailed information on available compiler options and”
   puts stderr “command-line syntax.”
   puts stderr “ “
}

module-whatis “Name: GCC Environment”
module-whatis “Version: 4.4.6”
module-whatis “Category: compiler, runtime support”
module-whatis “Description: GNU Compiler Family (C/C++/Fortran for x86_64)”
module-whatis “URL: http://gcc.gnu.org/”

# for Tcl script use only
set     topdir          /usr/
set     version         4.4.6
set     sys             linux86

setenv          CC              $topdir/bin/gcc
setenv          CXX             $topdir/bin/g++
setenv          FC              $topdir/bin/gfortran
setenv          F77             $topdir/bin/gfortran
setenv          F90             $topdir/bin/gfortran

Related content

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.