Statically built bond - is it possible?

View: New views
3 Messages — Rating Filter:   Alert me  

Statically built bond - is it possible?

by jm-32 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...
http://hcoop.net/cgi-bin/mailman/listinfo/bond-users

Re: Statically built bond - is it possible?

by Dru-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@... 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@...
> 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

_______________________________________________
Bond-users mailing list
Bond-users@...
http://hcoop.net/cgi-bin/mailman/listinfo/bond-users

Re: Statically built bond - is it possible?

by jasen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, May 10, 2007 at 12:41:01AM +1200, Dru wrote:

use StaticLibrary instead of SharedLibrary, but I can't promise good results.

> 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@... 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@...
http://hcoop.net/cgi-bin/mailman/listinfo/bond-users
LightInTheBox - Buy quality products at wholesale price