View Single Post
Old 09-20-2008, 08:34 AM   #7
Antartica
Evangelist
Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.
 
Antartica's Avatar
 
Posts: 423
Karma: 1517132
Join Date: Jun 2006
Location: Madrid, Spain
Device: quaderno, remarkable2, yotaphone2, prs950, iliad, onhandpc, newton
Quote:
Originally Posted by hansel View Post
Hi All,

I did some tests...
- I can confirm that Antartica's 'proof of concept' xedpmgr compiles an links fine
- the resulting executable (statically linked, without extra dependencies) is 23Kb (this is all you need to start apps)
- IT WORKS!!! It refreshes the display in an acceptable way
- This will change the way software is developed for Ilads

Antartica:
- GREAT IDEA!!! CONGRATS!!!
- maybe you can start a new thread to discuss the algorithm for combining rectangles (choice between full an typing update)?

Hansel.
I've managed to get my "prunned" libx11 for xepdmgr. The unstripped statically linked executable of xepdmgr is 299245 bytes, and that is without the dependency on libX11.so:

Code:
[sbox-iliad: /shared/Devel/iliad/src.xepdmgr/xepdmgr-1.0-iliad] > ldd xepdmgr
        liberdm.so.2 => /usr/local/lib/liberdm.so.2 (0x00000000)
        libc.so.6 => /lib/libc.so.6 (0x00000000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00000000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x00000000)
[sbox-iliad: /shared/Devel/iliad/src.xepdmgr/xepdmgr-1.0-iliad] > ls -l xepdmgr
-rwxrwxr-x  1 dario dario 299245 Sep 20 13:55 xepdmgr
P.S.: Thanks for testing it on the iliad and the success report! I'm VERY happy :-b. See the other thread on xepdmgr for my final code.

Last edited by Antartica; 09-20-2008 at 08:39 AM.
Antartica is offline   Reply With Quote