[savant-devel] Standalone savant plugin

Rudolf Matousek matousek at utia.cas.cz
Fri Feb 10 05:23:18 EST 2006


Hi,

I've just briefly tested my standalone savant plugin. In other words,
I've created a binary that does similar job to scram, but it runs and
staticaly links only my plugin libpartplugin.so (mainly debug purposes).

The attached file is the source code of my binary. I completely got rid
of the libltdl stuff. At the end of the file I only construct my plugin
interface and then I use it in a similar way to scram.

Requirements:

savant with --enable-install-all config option (I submitted that patch a
few days ago, btw. it requires automake 1.9, aclocal 1.9, autoconf 2.59).
clutils

Makefile.am:

bin_PROGRAMS = part
part_SOURCES = main/main.cc
part_LDFLAGS = -export-dynamic -static
part_LDADD = \
	-lpccts \
	-lscram \
        -lclutils \
	-laire \
	-lsavantutils \
	-lpartplugin


Regards,


Ruda M.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: main.cc
Type: text/x-c++src
Size: 8933 bytes
Desc: not available
Url : http://cliftonlabs.com/pipermail/savant-devel/attachments/20060210/018eb8eb/attachment.cc 


More information about the savant-devel mailing list