On 24 Sep 2009, raphael_manfr...@pobox.com wrote: > You are pinpointing a lack of granularity in the "shared" library files that > causes too much unnecessary stuff to be loaded due to transitive dependencies. > A first solution is therefore to start moving h_strconcat() and h_strdup() > out of misc.c, and then things should be much more under control.
If these are useful (to have a locale aware variants), then you can use function pointers to have default stdc versions and allow the GUI front end to replace the function pointers with the locale aware versions during start up. This solves the linkage requirements and makes the library useful for non-glibc/iconv situation (perhaps certain headless configurations), while not depleting the locale aware variants that might be useful for more sane handling of file names and meta data which is certainly a strength of gtkg for non-English users. Fwiw, Bill Pringlemeir. ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ gtk-gnutella-devel mailing list gtk-gnutella-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel