next up previous contents
Next: Using the OPM Up: Using the OPM Previous: Creating an OPM

Preparing Metadata

Metadata is generated by compiling a C file as a shared object library. opm2meta takes an .OPM and .MAP file and generates a .c file. makeso is a unix script that compiles and links the .c file into a .so file. The Sybase username and password is for storage in the binary metadata file, for later login to Sybase. (One can put in dummy values if one wants to handle Sybase login separate from the metadata.) A sample session is shown below: 1

      % opm2meta -u szeto -p pw -o shotgun.OPM  -m shotgun.MAP \
          -s shotgun.spmap -c shotgun.c
      % makeso shotgun

1