Re: Library packages
Adriaan van Os via fpc-pascal <[email protected]>
| Newsgroups | gmane.comp.compilers.free-pascal.general |
|---|---|
| Message-ID | <[email protected]> |
Sven Barth via fpc-pascal wrote: > The main difference is that a program or library compiled without > dynamic packages will each have a statically linked copy of the RTL (and > any other code it uses). If a binary uses dynamic packages then the > binary itself will not contain code that is contained in one of the used > runtime packages. Binaries are relatively free to decide which packages > it uses, except for the RTL package which always must be used if > packages are to be used (because the core units like System then need to > recide in a separate library, so that other packages and the main binary > can use them). > The options involved are -Fpxxx to set the path to search for pcp files > (the metadata equivalent of a ppu for dynamic packages) and -FPxxx to > specify which packages to use. OK. Thanks for the info. Regards, Adriaan van Os _______________________________________________ fpc-pascal maillist - [email protected] https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal