Building Plugins With Linux

Once you've created the object file containing your plugin functions, you'll need to execute a command like the following to build the plugin file.

ld -shared -o myPlugin.so.1.0 ./myPluginFuncs.o [required libraries]

The [required libraries] means that you may have to include linker options to include any other libraries that your plugin relies on. For example, if your plugin functions require code from the standard math library, you may need to add -lm.