[Glade-users] Static linking

Felix E. Klee felix.klee@inka.de
Sun, 20 May 2001 20:29:34 +0200


Damon Chaplin wrote:
> I think you can modify src/Makefile.am and add a line like this:
> 
> project1_LDFLAGS = -static

That doesn't change the size of the executable at all. However, if I
specify -all-static the executable becomes larger by approximately 4.5MB
and I hope that all libraries are included now. Here's an excerpt from
the libtool documentation:
  -static      do not do any dynamic linking of libtool libraries
  -all-static  do not do any dynamic linking at all

Felix