[fpc-pascal] fpc packages

Peter Vreman peter at freepascal.org
Wed Aug 30 07:19:19 CEST 2006


> Hi,
>
> Can anybody please explain to me FPC packages?  I don't understand
> them.  I read as much as I could from the docs, but still not sure.
>
> What I understand from packages, is a set of units that work together.
>  They don't need to be part of the FPC distribution though.

Correct

>
> So could I create my own package (some framework or utility library)
> and install in into the path where FPC has all it's packages
> (packages/extra) so that my other applications could find those units
> and source easier?  Is that what the "fpcpackage" setting means in the
> fpcmake files.

If fpcpackage is set then install target will install the units in
/usr/lib/fpc/<version>/units/<cpu>-<os>






More information about the fpc-pascal mailing list