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 Wed 22 Oct 2014, 05:36
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 Posts_count  
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?

Edited_time_total
Back to top
View user's profile Send_private_message Visit_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_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_website 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Cutting edge
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0459s ][ Queries: 11 (0.0090s) ][ GZIP on ]