hand, the library has been compiled with a Fortran-77 compiler, as is commonly the case, you will need to link with the Fortran-77 support libraries. The names and locations of these libraries are system- and compiler-dependent. For the Sun/Solaris compilers, the following should work:</p>
<pre class="f">f95 -o pgprog pgprog.f90 -L/usr/local/pgplot -lpgplot -lF77
</pre>



<h2>Compiling and Linking a C Program</h2>

<p>Some examples, assuming the source code is in a file called <span class="c"><code>pgprog.