Seite 1 von 1

enigmla plugins test

Verfasst: Mittwoch 14. Juli 2010, 02:20
von aaly
is it possible to test the plugins on a pc ?

Re: enigmla plugins test

Verfasst: Mittwoch 14. Juli 2010, 13:14
von mrvica
better you do it on the Box, from /tmp (RAM), no need to copy it into the flash
http://www.tuxbox-cvs.sourceforge.net/f ... 29&t=48194

Code: Alles auswählen

wget -q -O /dev/null "http://login:password@your_box_ip/cgi-bin/startPlugin?name=/tmp/your_plugin.cfg"
both your_plugin.cfg and your_plugin.so must be in /tmp existent

mrvica

Re: enigmla plugins test

Verfasst: Donnerstag 15. Juli 2010, 22:11
von aaly
thanks , thats not what i meant

i thought i could compile the plugins for linux on i686 or something ,i couldnt compile them statically , thanks.

Re: enigmla plugins test

Verfasst: Donnerstag 15. Juli 2010, 23:28
von mrvica
be more specific, what do you mean with statically, with all symbols included? what plugins are you pointing to, .so plugins (shared object, shared library), I´m not an expert on that matter, I think they cannot be compiled statically
Static libraries, by definition, cannot be shared
and vice versa I think (just my opinion)
"http://en.wikipedia.org/wiki/Library_(computing)"
I thought you just wanted to test enigma plugin you compiled on your x86 machine
is it possible to test the plugins on a pc ?
not possible at all, they have different cpu architecture

mrvica

Re: enigmla plugins test

Verfasst: Samstag 17. Juli 2010, 04:18
von aaly
yep they have different architecture ;) , thought there is some work around that.


about the plugin its .so , i defined my own classes and want to link them statically like this :



Main PLugin = compiled Statically to my classes
compiled Shared with enigma libs

My Classes ( they use enignna libs as well so .. ) = compiled shared with enigma libs

would some Makefile work with that ?

EDIT :

NVM i got my way around this :)