Havoc Pennington writes: > > Hi, > > GTK 1.3.x hasn't really been audited for static-linking problems, > there are most likely several. > > I opened this bug a while ago: > http://bugzilla.gnome.org/show_bug.cgi?id=61854 >
Hi it works nicely for me, the configure options I use for relevant libs are: glib: ./configure --prefix=/home/fb2 --enable-debug=minimum --enable-gc-friendly --disable-mem-pools --with-threads=posix atk: ./configure --prefix=/home/fb2 pango: ./configure --prefix=/home/fb2 --with-included-modules=yes gtkfb: ./configure --enable-debug=minimum --with-gdktarget=linux-fb --disable-shadowfb --disable-modules --with-included-loaders=xpm,png,gif,jpeg --prefix=/home/fb2 --disable-nlsplus --host=i486-linux-gnu and I link the final program with: gcc -static -DGTK2 -DGGC -Wall -I/home/fb2/include -I/home/gtkfb2/cschtml-1.1.x/src -g gtk-blinker.c gtk-clock.c fbro.c /home/gtkfb2/cschtml-1.1.x/src/.libs/libcschtml.a /home/fb2/lib/libhttp_fetcher.a -o fbro -I/home/fb2/include/atk-1.0 -I/home/fb2/include/pango-1.0 -I/home/fb2/include/sigc++ -I/home/fb2/lib/sigc++/include -I/home/fb2/include/gtk-2.0 -I/home/fb2/include/glib-2.0 -I/home/fb2/lib/glib/include -I/home/fb2/lib/glib-2.0/include -I/home/fb2/lib/gtk-2.0/include `libart-config --cflags` /usr/lib/libart_lgpl.a -L/home/fb2/lib -lgtk-linux-fb-1.3 -lgdk-linux-fb-1.3 -lgdk_pixbuf-1.3 -lpango -lpangoft2 -latk -lgobject-1.3 -lgmodule-1.3 -lglib-1.3 -lfreetype -ljpeg -lpng -lggc-1.0 -lz -lm -ldl The defines, cschtml and http_fetcher stuff are uncorrelated to the point. I think that it should be easy to change pkgconfig to handle something like --static to have the static linking. It didn't work with vanilla pkg-config used directly. Bye! _______________________________________________ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
