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
|
'\" -*- coding: us-ascii -*-
.if \n(.g .ds T< \\FC
.if \n(.g .ds T> \\F[\n[.fam]]
.de URL
\\$2 \(la\\$1\(ra\\$3
..
.if \n(.g .mso www.tmac
.TH h4cc 1 "28 May 2016" "" ""
.SH NAME
h4cc \- compiles an HDF4 C program
.SH SYNOPSIS
'nh
.fi
.ad l
\fBh4cc\fR \kx
.if (\nx>(\n(.l/2)) .nr x (\n(.l/5)
'in \n(.iu+\nxu
[\fIOPTIONS\fR] <\fIcompile line\fR>
'in \n(.iu-\nxu
.ad b
'hy
.SH DESCRIPTION
\fBh4cc\fR compiles an HDF4 C program.
.SH OPTIONS
.TP
\*(T<\fB\-help\fR\*(T>
Display usage information
.TP
\*(T<\fB\-echo\fR\*(T>
Show all the shell commands executed
.TP
\*(T<\fB\-prefix\fR\*(T>=\fIDIR\fR
Prefix directory to find HDF4
\*(T<\fIlib/\fR\*(T> and
\*(T<\fIinclude/\fR\*(T> subdirectories
[default: /usr]
.TP
\*(T<\fB\-show\fR\*(T>
Show the commands without executing them
.TP
\*(T<\fB\-shlib\fR\*(T>
Compile with shared HDF4 libraries
[default for hdf4 built without static libraries]
.TP
\*(T<\fB\-noshlib\fR\*(T>
Compile with static HDF4 libraries
[default for hdf4 built with static libraries]
.TP
<\fIcompile line\fR>
the normal compile line options for your compiler.
\fBh4cc\fR uses the same compiler you used to compile
HDF4.
Check with your compiler's man pages for more information on
which options are needed.
.PP
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
HDF4_CC
use a different C compiler
.TP
HDF4_CLINKER
use a different linker
.TP
HDF4_USE_SHLIB=[yes|no]
use shared or static version of the HDF4 library
[default: no]
|