Page 1 of 1

How can JWM be so small? (solved)

Posted: Fri 28 Oct 2005, 03:08
by rarsa
I'm compiling JWM from source because I'm evaluating options to include XDG menus into it.

When I compile it, the executable I get is about 2 MB that's huge compared to the file I see under /usr/X11R6/bin which is only 96 K.

Quite a difference!

What compile options were used for the JWM that comes with puppy? or was a compression utility used on the binary?

Posted: Fri 28 Oct 2005, 03:23
by GuestToo
did you strip -s jwm ?
that removes a lot of unnecessay stuff in the binary

did you enable any debugging options?
or did you not disable any debugging options?

Posted: Fri 28 Oct 2005, 03:33
by rarsa
Thank you!

After strip and upx I got a 47 K File. Now Barry's seems huge! ;)

Now I know that I should add the -Wl,-s option when making files to be used by puppy.

Posted: Fri 28 Oct 2005, 10:37
by BarryK
These were my configure options:

./configure --disable-confirm --disable-xinerama