C-PLOT

Scientific Graphics and Data Analysis

A.7. - Compiling user functions



C-PLOT automatically invokes the makefunc script in $CPLOTHOME/bin to create executable files from the user's code. By default the makefunc script will invoke the C compiler. The flags that should be passed to the compiler and the libraries that need to be loaded with the code vary from operating system to operating system. The flags and libraries are taken from the cplot_config initialization file.

Normally, the flags supplied with your distribution of the software are appropriate for your site. You may want to make some changes, however. For instance, you may want to have the name list stripped from user function executables to conserve disk space. On the other hand, you may want to keep the name list so you can run a debugger on your functions.