Commit 2e911653 authored by thomas.forbriger's avatar thomas.forbriger Committed by thomas.forbriger
Browse files

provide some more information regarding PGPLOT linking

This is a legacy commit from before 2015-03-01.
It may be incomplete as well as inconsistent.
See COPYING.legacy and README.history for details.


SVN Path:     http://gpitrsvn.gpi.uni-karlsruhe.de/repos/TFSoftware/trunk
SVN Revision: 5262
SVN UUID:     67feda4a-a26e-11df-9d6e-31afc202ad0c
parent 5735ab98
......@@ -82,17 +82,24 @@ Environment variables in Makefiles
Makefile.
export TF_LINK_FORTRAN=-lgfortran
Define the linker option when doing interlanguage linking (i.e. link a C++
main program against Fortran code from a library). If you use g77, you
will have to link against libg2c.a here (use -lg2c then instead of
-lgfortran).
This variable is required when C or C++ programs must be linked against
Fortran libraries. It defines the linker option for interlanguage linking.
If you use g77, you will have to link against libg2c.a here (use -lg2c
then instead of -lgfortran).
export TF_LINK_PGPLOT="-lpgplot -lX11 -L/usr/X11/lib -L$PGPLOT_DIR"
This variable is passed to the linker in cases where binaries have to be
linked against PGPLOT. Use this variable to pass the location of your X11
libraries as well as the names of additional libraries that might be
needed for the PGPLOT drivers in your installation (like libpng.a by
adding -lpng for example).
This variable is required for all programs making use of graphical output
through the PGPLOT library. It is passed to the linker in cases where
binaries have to be linked against PGPLOT. Use this variable to pass the
location of your X11 libraries as well as the names of additional
libraries that might be needed for the PGPLOT drivers in your installation
(like libpng.a by adding -lpng for example).
In case you are in doubt regaring additional libraries, the makefile in
your PGPLOT installation directory can be helpful. The variable PGPLOT_LIB
in the makefile contains settings required in TF_LINK_PGPLOT too.
TF_LINK_PGPLOT should additionally contain the X11 library (variable LIBS
in the PGPLOT makefile) and the path to your PGPLOT installation
directory (as provided by variable PGPLOT_DIR).
export TF_REMCMMNT=cat
Some Makefiles contain rules to strip comments from C++ and C header files.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment