1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93
|
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.45.1.
.TH H5PCC "1" "May 2014" "h5pcc (hdf5 1.8.12)" "User Commands"
.SH NAME
h5pcc \- helper script to compile HDF5 C applications
.SH DESCRIPTION
usage: h5pcc [OPTIONS] <compile line>
.IP
OPTIONS:
.TP
\fB\-help\fR
This help message.
.TP
\fB\-echo\fR
Show all the shell commands executed
.TP
\fB\-prefix\fR=\fI\,DIR\/\fR
Prefix directory to find HDF5 lib/ and include/
.IP
subdirectories [default: /usr]
.PP
usage: h5pcc [OPTIONS] <compile line>
.IP
OPTIONS:
.TP
\fB\-help\fR
This help message.
.TP
\fB\-echo\fR
Show all the shell commands executed
.TP
\fB\-prefix\fR=\fI\,DIR\/\fR
Prefix directory to find HDF5 lib/ and include/
.IP
subdirectories [default: /usr]
.TP
\fB\-show\fR
Show the commands without executing them
.TP
\fB\-showconfig\fR
Show the HDF5 library configuration summary
.TP
\fB\-shlib\fR
Compile with shared HDF5 libraries [default for hdf5 built
without static libraries]
.TP
\fB\-noshlib\fR
Compile with static HDF5 libraries [default for hdf5 built
with static libraries]
.TP
<compile line>
\- the normal compile line options for your compiler.
.TP
h5pcc uses the same compiler you used to compile
HDF5. Check with your compiler's man pages for more
information on which options are needed.
.IP
You can override the compiler, linker, and whether or not to use static
or shared libraries to compile your program by setting the following
environment variables accordingly:
.TP
HDF5_CC
\- use a different C compiler
.TP
HDF5_CLINKER
\- use a different linker
.TP
HDF5_USE_SHLIB=[yes|no]
\- use shared or static version of the HDF5 library
.TP
[default: no except when built with only
shared libraries]
.IP
You can also add or change paths and flags to the compile line using
the following environment varibles or by assigning them to their counterparts
in the 'Things You Can Modify to Override...' section of h5pcc
.TP
Variable
Current value to be replaced
.TP
HDF5_CPPFLAGS
""
.TP
HDF5_CFLAGS
""
.TP
HDF5_LDFLAGS
""
.TP
HDF5_LIBS
""
.IP
Note that adding library paths to HDF5_LDFLAGS where another hdf5 version
is located may link your program with that other hdf5 library version.
|