[fpc-pascal] Unit output directory

Michael Van Canneyt michael at freepascal.org
Thu Aug 30 13:17:38 CEST 2007



On Thu, 30 Aug 2007, Graeme Geldenhuys wrote:

> Hi,
> 
> Under Lazarus I can specify the unit output directory as follows:
>   ../../lib/$(TargetCPU)-$(TargetOS)
> 
> 
> I'm trying to do the same thing from the command line (without
> Lazarus), but FPC doesn't know about the TargetCPU or TargetOS macros.
>  Is there something else or similar I can use in my custom
> extrafpc.cfg file to get the same result?

User's manual, section 5.3 "Variable substitution in paths".

Michael.



More information about the fpc-pascal mailing list