Wiki copymirror

This is a mirror of the wiki at pascal.chat. Editing, history and sign-in are there.

Debian Packaging

This page explains how to create Debian packages for the FPC compiler itself.

Getting sources

FPC sources are managed using SVN. The most convenient way to get sources in order to build a release is using the svn export command :

text
svn export http://svn.freepascal.org/svn/fpcbuild/tags/release_x_y_z fpcbuild-x.y.z

Building packages

The top make file of the fpcbuild-x.y.z branch supports the deb target which is intended to build Debian packages from source.

text
make deb

However, users may want to use their own packeging rules file

text
make deb DEBDIR=<some path to debian dir>

Or use a particular libgdb version

text
make deb GDBLIBDIR=<path/${OS_TARGET}/${CPU_TARGET}>

How it works

To be continued...


From the Free Pascal wiki, page "Debian Packaging", as it stood on 2020-08-26 after a change by Trev, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's Licensing page. If you have concerns about this material, message the admin.

Revision 5, last changed by WikiArchive .