Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: >>>>>> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: > | Lars> lyx --frontend xforms lyx --frontend qt lyx --frontend gnome > | Lars> without recompiles. > | Lars> This is actually easier than you might think. > | It would be nice indeed. > | Lars> We need a clear API into the frontends, much like the signal | Lars> setup today, but in the opposite direction. > | Yes. > | Lars> ltdl will provide the dynamic linking, and all information that | Lars> the frontend needs will have to be passed in, either upon | Lars> loading of as parameters to functions. > | How portable is that? Are we sure we won't have prolems with it?
It claims to be qute portable, also when on a platform that does not support dynamic linking, this is "forged" by using static linking instead. On the info page it says: libltdl supports currently the following dynamic linking mechanisms: * `dlopen' (Solaris, Linux and various BSD flavors) * `shl_load' (HP-UX) * `LoadLibrary' (Win16 and Win32) * `load_add_on' (BeOS) * GNU DLD (emulates dynamic linking for static libraries) * libtool's dlpreopen (see *note Dlpreopening::) -- Lgb