[Glade-users] Static linking



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





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