GNAT for Sun Solaris

GNAT 3.05 will be installed tomorrow, 9/12, for SunOS 4.1.3. In order to avoid potential conflicts with our existing gcc installation GNAT has been installed in its our directory structure (/exp/rcf/share/gnat-3.05). In order to use GNAT users must do the following:

Add /exp/rcf/share/gnat-3.05/bin to the front of your PATH and set the following variables:

csh, tcsh users:

setenv PATH /exp/rcf/share/gnat-3.05/bin:$PATH
setenv GCC_EXEC_PREFIX \
/exp/rcf/share/gnat-3.05/lib/gcc-lib/sparc-sun-sunos4.1.3/2.7.2/
setenv ADA_INCLUDE_PATH /exp/rcf/share/gnat-3.05/adainclude
setenv ADA_OBJECTS_PATH \
/exp/rcf/share/gnat-3.05/lib/gcc-lib/sparc-sun-sunos4.1.3/2.7.2/adalib
setenv C_INCLUDE_PATH \
/exp/rcf/share/gnat-3.05/lib/gcc-lib/sparc-sun-sunos4.1.3/2.7.2/include

ksh, bash users:

export PATH=/exp/rcf/share/gnat-3.05/bin:$PATH
export GCC_EXEC_PREFIX = \
/exp/rcf/share/gnat-3.05/lib/gcc-lib/sparc-sun-sunos4.1.3/2.7.2/
export ADA_INCLUDE_PATH = /exp/rcf/share/gnat-3.05/adainclude
export ADA_OBJECTS_PATH = \
/exp/rcf/share/gnat-3.05/lib/gcc-lib/sparc-sun-sunos4.1.3/2.7.2/adalib
export C_INCLUDE_PATH = \
/exp/rcf/share/gnat-3.05/lib/gcc-lib/sparc-sun-sunos4.1.3/2.7.2/include
What is GNAT?
GNAT is an industrial-quality Ada 95 compiler, integrated into the GCC retargetable compiler system. GNAT is a complete compiler, validated on several platforms, that includes support for all the Ada 95 annexes specified in the Ada Reference manual. Because of its integration into the GCC system, GNAT is available on a large number of hardware/operating system platforms, and can be used as a cross-compiler from any of its targets to any other one. Because of the common code-generator technology of GCC, GNAT has excellent support for multi-language programming: Ada, C, C++, Fortran, etc.