[Glade-users] Static linking



Jes?s Mart?nez wrote:
How can I build a static GTK+ application?


You should ask this question on gtk-list gnome org ...
or ask your system's compilation suite, it depends.

First of all, what system & compilers are you useing ?

consult the compiler/linker manual for creating staticly linked
applications, with gcc thats `gcc -static ...'

Also you must make sure that all the libs you are linking against
are available as static archives; on linux thats lib${libname}.a .

To generate the static libs for gtk+ you must compile the relevent
modules with "./configure --enable-static ..."; but either the
distro you are using or the -devel version of the GTK+ distro
should probably have them.

Cheers,
                           -Tristan



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]