In our previous episode, Michael Van Canneyt said: > > finer. (-dyn and static in separate packages, so that the static one alone > > gets the dependency. Lazarus then only depends on the dyn packages). > > That would be a regular nightmare, because there are many packages that > depend > on fcl-db, and this would split all these packages in 2 variants. > > There is a good reason that apache, php, ODBC and many other large programs/ > libraries introduced dynamically loadable packages. It saves you from > having to recompile everything for your particular system, and thus makes > maintenance and installation simpler. > > So if anything, IMHO we should make all packages that link in external C libs > "dynamically loaded".
This only shifts the problem from having to say "install the static version of the C lib" to having to say "install the relevant FPC/lazarus db package". With one benefit (you can provide custom errormessages), and one major disadvantage (a lot of release engineering and versioning) _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal