1h5c++(1)                    General Commands Manual                   h5c++(1)
2
3
4

NAME

6       h5c++ - Helper script to compile HDF5 C++ applications.
7

SYNOPSIS

9       h5c++ [OPTIONS] <compile line>
10

DESCRIPTION

12       h5c++ can be used in much the same way MPIch is used to compile an HDF5
13       program. It takes care of specifying where the HDF5  header  files  and
14       libraries are on the command line.
15
16       h5c++  supercedes all other compiler scripts in that if you've used one
17       set of compiler scripts to compile the HDF5  C++  library,  then  h5c++
18       uses  those same scripts. For example, when compiling an MPIch program,
19       you use the mpiCC script.
20
21       Some programs use HDF5 in only a few modules. It isn't necessary to use
22       h5c++  to  compile  those  modules which don't use HDF5. In fact, since
23       h5c++ is only a convenience script, you are still able to compile  HDF5
24       C++  modules  in the normal way. In that case, you will have to specify
25       the HDF5 libraries and include paths yourself.
26
27       An example of how to use h5c++ to compile the program  hdf_prog,  which
28       consists  of  modules  prog1.cpp  and  prog2.cpp  and uses the HDF5 C++
29       library, would be as follows:
30               # h5c++ -c prog1.cpp
31               # h5c++ -c prog2.cpp
32               # h5c++ -o hdf_prog prog1.o prog2.o
33
34       -help  Prints a help message.
35
36       -echo  Show all the shell commands executed.
37
38       -prefix=DIR
39              Use the directory DIR to find the HDF5 lib/ and include/  subdi‐
40              rectories.  Default: prefix specified when configuring HDF5.
41
42       -show  Show the commands without executing them.
43
44       <compile line>
45              The  normal  compile  line options for your compiler. h5c++ uses
46              the same compiler you used to  compile  HDF5.  Check  your  com‐
47              piler's manual for more information on which options are needed.
48

ENVIRONMENT

50       HDF5_CXX
51              Use a different C++ compiler.
52
53       HDF5_CXXLINKER
54              Use a different linker.
55

SEE ALSO

57       h5cc(1), h5fc(1)
58
59
60
61                                                                      h5c++(1)
Impressum