Keywords: gildas-prog

Next: The Library Version Up: The messaging facility Previous: Writing on files: Fortran Contents Index

## Linking on Linux: TO BE UPDATED

On Unix system, the location of the GILDAS software environment is normally defined by executing a simple starting script, like this one, typically in the .bash_profile of the user.

    export GAG_ROOT_DIR=/home/Guilloteau/gildas/gildas-exe-dev
    export GAG_EXEC_SYSTEM=pc-cygwin-gfortran
    source $GAG_ROOT_DIR/etc/bash_profile

The development environment can be accessed by typing

     source $GAG_ROOT_DIR$/admin/gildas-env.sh

which selects the default compilers to build the system. The development environment architecture uses Makefiles, and the best to develop a new program is just to clone some architecture (see `contrib/example` for a full working example To be Done).