GPMI - faq

3.1. General

3.1.1. I want script languages. Why should I use a library and not a wrapper?

We believe that a library can offer a bit more than a wrapper could. Most of the advantages are related to updating. If an application is once compiled with a wrapper, usually only a recompile can add new script languages. On a system with many programs using the same method to be scriptable, it means recompiling all them, one by one, while with gpmi, one just compiles and installs a new script module in a system directory and programs will work with the new language immediately. Sometimes even without stopping or restarting those programs.

It's even more important when security or bug-fix updates are released. Programs will have to reload the module or even restarted, but certainly not recompiled.

3.2. Installing

3.3. Writing applications for gpmi

3.3.1. My application crashes when a package tries to call a routine compiled in my app. What's wrong?

You need to compile your program with some extra flags to allow packages to access symbols. On UNIX systems, using gcc, it's -rdynamic when you are linking.

3.4. Writing modules for gpmi

3.5. Writing packages for gpmi