TRiP98 plug-in generation
| GSI Biophysics
| TRiP98 long write-up
|
At several locations within the TRiP98 package
it is possible to use external "plug-ins". These are user-supplied
C-functions with a defined parameter list, compiled and linked in a special way
(For specialists: the functions are prepared to be called as if they were
part of a dynamic shared library).
In order to facilitate the compile and link step a shell script is provided:
trpfct [-l<lib>] [-L<ldir>] [-I<idir>] [-e<entrypoint>] <src>
where <src>
is the C source file name (without extension),
<lib>
is an optional user library name,
<ldir>
is an optional user library directory,
<idir>
is an optional user include directory.
<entrypoint>
is the name of the entrypoint, it is this
name with which the plug-in can be called at run time.
If omitted the name of the source file is assumed.
The actual name must be chosen as required by the application
(see functions)
Example
-
trpfct ctnum
compiles and links the source file ctnum.c
and assigns
it the entry point ctnum
.
-
trpfct junkct -ectnum
compiles and links the source file junkct.c
and assigns
it the entry point ctnum
.
| GSI Biophysics
| TRiP98 long write-up
|
Last updated: M.Kraemer@gsi.de, 3-Feb-1999
Impressum Data privacy protection