Em Sex, 2004-03-26 � s 05:04, Nils O. Sel�¥sdal escreveu: > On Thu, 2004-03-25 at 18:06, Flavio Alberto Lopes Soares wrote: > > Hello all, > > > > I have a program made with gtk-1.2 in Linux (Now I'm drawing the > > interface of a new version using gtk2.0) and this system will run in a > > Industrial PC (no hard disk, I believe 128MB FlashDisk) with only this > > application (and X basics), no needs WindowManager, nothing, only X and > > basic Linux system, I need to know what the minimal libraries to run my > > system and your size. > > > > I developing using Debian SID but I believe that I can do a minimal > > system using Debian Stable. > > > > Using ldd I look the libraries that my program use (is this correct ?), > > if I do a minimal system and copy these files + X (more config files) to > > this system I can run my program (ONLY my program) ? > Yes. > If size is a problem, strip the libraries. > That is, run strip -g on all the libraries and binaries. > Very interesting, I ran strip -g in my executable file and it originaly had ~900K now has ~300K, what it does ? I read man page but I can't understand what he said. (updated) : I read the man page and I look that -g option remove the debug symbols, gdb will not work as I saw, I don't believe that debug symbols occupies so much space ! But my doubt is if can I putting only the files that ldd gives me in other system (with X files of course) I will have my code runing OK ? I will do some experiments to see what happens and I will report. > > some reference (links, books, etc) will be thankfull > Hmm, for what, it's not entirly clear what your "problem" is. Now I'm reading Linux from Scratch, I believe that will help me. Thanks for all help. -- Flavio Alberto Lopes Soares flavio@xxxxxxxxxxxxxx MAQPLAS Indústria e Comércio de Máquinas LTDA http://www.maqplas.com.br _______________________________________________ gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list