[Bond-users] Statically built bond - is it possible?
Dru
dru at treshna.com
Wed May 9 08:41:01 EDT 2007
You'll still need the gtk and associated libraries, so I'm not sure if
statically linking uigtk is enough. bond_uigtk is designed to be loaded
dynamically at run time (not link time). bond_uigtk can be statically
linked directly to bondfrontend with a bit of work. You could statically
link bond_uigtk, and all the gtk libraries.
ui_plugin.c would need slight modification to not load the modules (see
plugin_create()), and the export of functions should continue to work
fine with statically linked functions. Though I had a bug with
dynamically calling statically linked functions last year on some
systems though its hard to reproduce.
Ideally you could copy the uigtk directory, create a uiqt directory and
replace all the calls with libqt calls and that would be a cleaner
better long term solution.
I've built varies libraries in bond statically before, but not uigtk
yet. I first of all do experimenting by doing the linking manually with
gcc. Theres no simple option I know of with scons for library types.
jm at telvinet.pl wrote:
> Is it possible to build bond in all-in-one manner (bondfrontend), without need
> for loading bond_uigtk.so shared library? With something like this one can run
> bond on kde system without any gnome library.
>
> I'm new to bond and to scons as well. It would require some tweaking in
> SConstruct files under src and/or bond source rootdir, I suppose. I have no
> clue how to do it..
>
> Did anyone here tried to build bond statically?
>
>
>
> _______________________________________________
> Bond-users mailing list
> Bond-users at hcoop.net
> http://hcoop.net/cgi-bin/mailman/listinfo/bond-users
--
Andrew Hill
treshna Enterprises Ltd
Tel: 03 366 3649
Cel: 021 660 819
Web: www.treshna.com
IT Consultancy - Websites - Database development - Computer tech support
More information about the Bond-users
mailing list