Whats the best way to compile and link my NCAR Graphics program?
You can use one of two scripts provided in $NCARG_ROOT/bin. The commands ncargcc and ncargf77 are for compiling C and Fortran programs. Make sure the environment variable NCARG_ROOT is set and that $NCARG_ROOT/bin is on your search path before you try to execute these commands. For example, if your program is called program.f then you would compile it with the following command: ncargf77 -o program program.f On some systems that also have a Fortran 90 compiler, the script ncargf90 may be available. It works in the same manner as ncargf77. • I’m trying to compile an NCAR Graphics program, but I am getting some undefined references. What am I doing wrong? It’s possible you are not linking in all the necessary libraries. Make sure you are linking in the ncarg_c library which is required for both C and Fortran programs. See the question for commands you can use to help you compile your program. • How can I change the default name of the metafile (gmeta) and/or PostScript file in my C or Fo