Size of transmission-daemon file compiled

Ask for help and report issues not specific to either the Mac OS X or GTK+ versions of Transmission
Post Reply
simonbcn
Posts: 21
Joined: Fri May 08, 2009 1:10 am

Size of transmission-daemon file compiled

Post by simonbcn »

Hi,
I have compiled Transmission 2.04 from sources with: "./configure --disable-static"
The summary of this configure is:

Code: Select all

Configuration:

   Source code location:                              .
   Compiler:                                          g++

   Build Command-Line client:                         yes

   Build GTK+ client:                                 no

     Optional dependencies for GTK+ client:

      * dbus support:                                 no
      * gio for watchdir support:                     no
      * libnotify for 'download completed' popups:    no
      * libcanberra for 'download completed' sounds:  no
      * gconf2 to register as a magnet link handler:  no
      * libappindicator for an Ubuntu-style tray:     no

   Build Daemon:                                      yes

   Build Mac client:                                  no
Well, the transmission-daemon compiled has a size of 5'3MB!! :shock:
The transmission-daemon in .deb package has a size of 487KB + transmission-common 614Kb ~ 1MB
What am I doing wrong? :?
Regards.
gunzip
Posts: 272
Joined: Wed May 05, 2010 2:12 am

Re: Size of transmission-daemon file compiled

Post by gunzip »

i recently compiled a 2.04 nightly with "./configure --disable-gtk" and the transmission-daemon weighs in at 4.5 MB

above is just for info, as i don't understand the significance of the size
Jordan
Transmission Developer
Posts: 2312
Joined: Sat May 26, 2007 3:39 pm
Location: Titania's Room

Re: Size of transmission-daemon file compiled

Post by Jordan »

Probably the difference between your build and the one from .deb is that you haven't stripped out the debug info by using Unix's "strip" command:

Code: Select all

$ ls -hs transmission-daemon
4.8M transmission-daemon
$ strip transmission-daemon
$ ls -hs transmission-daemon
464K transmission-daemon
Post Reply