Marco van de Voort schrieb: > On Wed, Dec 09, 2009 at 03:59:46PM +0100, Christian Budde wrote: >>> Netscape is not created in lazarus, and doesn't communicate over plugin >>> interface using pascal types. >>> >>> Which is exactly the problem packages try to solve. Please do not confuse >>> the situation more than necessary. >> >> I don't think he is confusing the situation more than necessary, it was >> the original topic to use the LCL in DLLs and not to change the package >> system in Lazarus. > > packages and package system in Lazarus are unrelated, because delphi uses > the first mechanism to implement the second it is not the same > > please read: http://wiki.freepascal.org/packages first. > > However there might be some confusion here, if you mean having a totally > contained Lazarus program in a DLL together with RTL and DLL, then that is > somewhat comparable with the netscape example. > > But that is not what afaik the thread was about, and what I meant, that is > to have a libfpc.so (RTL+FCL and other packages without dependancies) and > liblcl.so and reuse them for all my lazarus applications.
Having librtl.so etc. is not hard, I did this once with lazarus, instead of linking against an .a you link against a .so (well, against 50 MB of .so in case of lazarus). The problem are windows dlls: they work completly different than .so -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
