How can JWM be so small? (solved)

Under development: PCMCIA, wireless, etc.
Post Reply
Message
Author
User avatar
rarsa
Posts: 3053
Joined: Sun 29 May 2005, 20:30
Location: Kitchener, Ontario, Canada
Contact:

How can JWM be so small? (solved)

#1 Post 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?
Last edited by rarsa on Fri 28 Oct 2005, 03:33, edited 1 time in total.

GuestToo
Puppy Master
Posts: 4083
Joined: Wed 04 May 2005, 18:11

#2 Post 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?

User avatar
rarsa
Posts: 3053
Joined: Sun 29 May 2005, 20:30
Location: Kitchener, Ontario, Canada
Contact:

#3 Post 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.

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#4 Post by BarryK »

These were my configure options:

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

Post Reply