[fpc-pascal] setting unit output dir in packages/extra

Marc Santhoff M.Santhoff at t-online.de
Sat Dec 6 20:48:17 CET 2008


Hi,

I'm trying hard to make a package thatfits inside fpc/packages/extra.
Most things do work, but some details are missing still.

How and where is the setting made that directs the output of package
compilation to $targetos/something and the installation target path?

A typical packages/extra Makefile.fpc looks like this and has no out
path setting. For reference:

<snip>

#
#   Makefile.fpc for fpgtk
#
[require]
packages=fcl gtk

[package]
name=fpgtk
version=2.0.4

[target]
units=fpglib fpgtk fpgtkext
rsts=fpgtk fpgtkext

[install]
fpcpackage=y

[default]
fpcdir=../../..

</snip>

Other possibilities are having something in the Makefiles upwards the
directory tree or the fpc.cfg used when compiling ...

TIA,
Marc





More information about the fpc-pascal mailing list