1NHLCC(1NCARG) NCAR GRAPHICS NHLCC(1NCARG)
2
3
4
6 nhlcc - Command for compiling C code that uses the NCAR Graphics high-
7 level utilities.
8
10 nhlcc [-ngmath] [-ncarbd] [-ngmathbd] [-netcdf] [-hdf] ...
11
13 nhlcc is a script that invokes the C compiler/linker with the proper
14 NCAR Graphics LLU (low-level utility) and HLU (high-level utility)
15 libraries. Arguments presented above are associated with NCAR Graph‐
16 ics. All other arguments and options are identical to the cc command
17 on your particular machine; arguments that include quoted strings may
18 have to be enclosed in single quotes.
19
20 If you don't want to use nhlcc, you can just type it on the command
21 line to see what gets included in the link line, and then you can add
22 this information to your own Makefile or script. It is important to
23 note that you must define the macro NeedFuncProto in order for function
24 prototyping to work correctly.
25
26 In order to run nhlcc, you must have your NCARG_ROOT environment vari‐
27 able set to the directory pathname where the NCAR Graphics libraries,
28 binaries, and include files were installed. If you are not sure what
29 NCARG_ROOT should be set to, please check with your system administra‐
30 tor or the site representative for NCAR Graphics. If the NCAR Graphics
31 libraries, binaries, and include files were not installed under one
32 root directory, then you will need to set the environment variables
33 NCARG_LIB, NCARG_BIN, and NCARG_INCLUDE instead. Please see "man ncar‐
34 gintro" for more information.
35
36 Note that, on some systems, if you supply your own binary libraries in
37 addition to the ones automatically referenced by nhlcc, all the
38 libraries must have been created in a similar fashion.
39
40 OPTIONS
41
42 -ngmath
43 Links in the NCAR Graphics ngmath library.
44
45
46 -ncarbd
47 Use this option for compilers that appear to be having trouble
48 initializing blockdata variables. It will cause a small subrou‐
49 tine to be linked in that helps force the loading of blockdata
50 initialization routines.
51
52
53 -ngmathbd
54 Just like with the -ncarbd option, use this option for compilers
55 that appear to be having trouble initializing Ngmath-related
56 blockdata variables. It will cause a small subroutine to be
57 linked in that helps force the loading of Ngmath blockdata ini‐
58 tialization routines.
59
60 Note: this option doesn't need to be specified separately if you
61 are already including the -ncarbd and -ngmath options.
62
63
64 -netcdf
65 Links in the netCDF library. This library is not part of NCAR
66 Graphics, so check with your system administrator if you need it
67 installed. You can obtain a copy of it by doing an anonymous
68 ftp to unidata.ucar.edu.
69
70
71 -hdf Links in the HDF library. This library is not part of NCAR
72 Graphics, so check with your system administrator if you need it
73 installed. You can obtain a copy of it by doing an anonymous
74 ftp to ftp.ncsa.uiuc.edu.
75
76
78 Online: nhlf77(1NCARG), ncargf77(1NCARG), ncargcc(1NCARG), ncargin‐
79 tro(5NCARG)
80
81
83 Copyright (C) 1987-2000
84 University Corporation for Atmospheric Research
85 The use of this Software is governed by a License Agreement.
86
87
88
89NCAR April 1995 NHLCC(1NCARG)