Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 24 Apr 2014, 05:26
All times are UTC - 4
 Forum index » Advanced Topics » Cutting edge
How can JWM be so small? (solved)
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [4 Posts]  
Author Message
rarsa


Joined: 29 May 2005
Posts: 3053
Location: Kitchener, Ontario, Canada

PostPosted: Thu 27 Oct 2005, 23:08    Post subject:  How can JWM be so small? (solved)  

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 Thu 27 Oct 2005, 23:33; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
GuestToo
Puppy Master

Joined: 04 May 2005
Posts: 4078

PostPosted: Thu 27 Oct 2005, 23:23    Post subject:  

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?
Back to top
View user's profile Send private message 
rarsa


Joined: 29 May 2005
Posts: 3053
Location: Kitchener, Ontario, Canada

PostPosted: Thu 27 Oct 2005, 23:33    Post subject:  

Thank you!

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

Now I know that I should add the -Wl,-s option when making files to be used by puppy.
Back to top
View user's profile Send private message Visit poster's website 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 7047
Location: Perth, Western Australia

PostPosted: Fri 28 Oct 2005, 06:37    Post subject:  

These were my configure options:

./configure --disable-confirm --disable-xinerama
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 1 [4 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Cutting edge
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0370s ][ Queries: 12 (0.0040s) ][ GZIP on ]