The GINGA tools Version 1.01: analysis software of GINGA LAC data The ISAS GINGA Archives Team 2003/06/04 Install Notes This document describes how to build and install the GINGA tools. The source codes are written in Fortran except one C code. You need to have a Fortran compiler as well as a C compiler. List of programs: make_sf_list.pl (perl script) lac2xspec frfplot lacdmp lacspec bgdspec timinfilfits tim2filfits dynspecfits foldingfits lacqrdfits Supported system (Fortran/C compiler): OSF1 (f77/gcc) SunOS (f77/cc) Linux (g77/gcc) 0. Install FTOOLS libraries You must install the FTOOLS packages before building GINGA tools: o FTOOLS libraries (version 5.1 or later) http://heasarc.gsfc.nasa.gov/lheasoft/ftools/ The environment variable FTOOLS must be correctly set. 1. On Linux you may need to edit src/Makefile by changing X11DIR and GCCDIR to fit your system. The default Makefile uses f77 for OSF1 and SunOS, and g77 for Linux. If you want to use another compiler, you need to change ???LIB and ???OPT appropriately. It is recommended to use the "-DUSE_REAL16" option with a Fortran compiler supporting REAL*16 type variables. 2. Type as follows in the directory "ginga_tools/v1.01". % cd src % make % make install % make clean (cleans up the src directory. May be omitted) % cd .. 3. The executable files are created under the "bin/" directory. 4. That's it. Enjoy!