On Wed, Sep 20, 2006 at 11:12:18AM +0200, Helge Hafting wrote: > Pol wrote: > >How to compile a very trimmed down lyx executable, to run on smartphones > >(without latex), like motorola linux o.s. or nokia symbian o.s.? > > > >Thank you > > > Lyx will run fine without latex or any of the other supporting > programs. The install program might complain, but lyx itself > will be fine for editing. > > What you really need, is: > * An xserver of some kind, so lyx can display itself - or alternatively > a qt library with some other way of rendering. > * All those libraries listed when you run > ldd /usr/bin/lyx > > > Now, if you want to trim down the executable itself you have a bigger > job ahead of you. Seeing that you don't want to run latex on the phone, > you could remove all the export/output stuff, in fact anything that > runs other processes. You can remove the spellchecker interface > if you don't plan on having a spellchecker. You can remove > image loading - loosing previews but still able to include images. > > I don't think lyx is designed with this in mind though, so it > might be a lot of work making lyx more "modular". > > Configuring lyx lets you choose a few things like what frontend to > compile, but there isn't much "pick&choose" there. Make sure > you compile with something like -Os to optimize for size. > > Helge Hafting
My lyx-qt binary is 5 MB. Doesn't include libraries, true... libqt is another 8 MB... still I have 64 MB plus swap if needed. - Martin
pgpnHE18wcVSE.pgp
Description: PGP signature
