[Klone-users] parameters into kloned

Mark Richards mark.richards at massmicro.com
Wed Aug 1 10:10:31 EDT 2007


Stefano Barbato wrote:
> Hi Mark,
> 
> how big is libkloneaemlib.a?  what "cris-strip kloned && ls -lL kloned" 
> writes?
Good point.  It's only 27k

> what's in the webapp/ directory (everything in webapp/ get included into 
> kloned binary)?

You nailed it.

I thought (incorrectly) that anything not compiled or referenced would 
not be included.  I was wrong.  Plus forgot about image files.

Removing backup files there plus doing a cris_strip (thought the -s 
parameter into linker did that) compressed 345614 to 302120.  Better.

[root at dev1 www]# ls -ltr
total 144
-rwxrwxrwx 1 root root 10609 Jun 23 15:59 kl.css
-rwxrwxrwx 1 root root  3631 Jul 16 11:33 topheader.kl1
drwxrwxrwx 2 root root  4096 Jul 19 13:10 images
-rwxrwxrwx 1 root root 64810 Aug  1 08:37 sensors.kl1
-rwxrwxrwx 1 root root 29862 Aug  1 09:37 profile.kl1
-rwxrwxrwx 1 root root 23535 Aug  1 10:04 index.kl1
[root at dev1 www]# ls images/ -ltr
total 112
-rwxrwxrwx 1 root root  5106 May 18 22:33 UpArrow.gif
-rwxrwxrwx 1 root root  6430 May 18 22:33 topview.gif
-rwxrwxrwx 1 root root 24684 May 18 22:33 gears.gif
-rwxrwxrwx 1 root root  5101 May 18 22:33 DnArrow.gif
-rwxrwxrwx 1 root root 47826 Jun  6 11:46 kl_bg.png
-rwxrwxrwx 1 root root 10415 Jun 23 15:54 aemlogo.jpg
[root at dev1 www]#

I guess the rest is because I'm including sqlite3 and many pieces from 
another large shared library plus those image files which I need to 
seriously compress!

/m




More information about the klone-users mailing list