[fpc-pascal] fpmake: output directories

Michael Van Canneyt michael at freepascal.org
Tue Jun 2 08:57:31 CEST 2009

On Mon, 1 Jun 2009, Mattias Gaertner wrote:

> Hi fpmake devels,
> fpmake uses as ppu output directory for example:
> units/i386-linux/
> And there is no way to change this. Right?
> Some LCL packages have different PPUs per widgetset, so they need an
> output directory per widgetset. At the moment they use for example:
> units/i386-linux-gtk2/
> Another example is to distinguish between release and debug version.
> What is the best/recommended way to solve this with fpmake?

You can't in this way.

The problem is the dependencies. The build system must know where the 
units are for every package, so this is packagename/units/CPU-OS/

You must make different packages per widgetset. They can be generated
by the same fpmake.
That means that you must make a package lcl-gtk2, which then is 
installed in

That should cover your needs ?


More information about the fpc-pascal mailing list