[fpc-pascal] Recursive unit search path

Jonas Maebe jonas.maebe at elis.ugent.be
Thu Apr 20 09:40:13 CEST 2006


On 20 apr 2006, at 01:56, L wrote:

> -Fu/home/me/project1/units/*.*
>
> No such thing for FPC, right? Recursive units searches?

Have a look at the standard /etc/fpc.cfg and you'll see things like

-Fu/usr/local/lib/fpc/$fpcversion/units/$fpctarget
-Fu/usr/local/lib/fpc/$fpcversion/units/$fpctarget/*

So yes, it's supported (but use * and not *.* under linux/*nix,  
because otherwise you'll only match directory names which contain a ".")


Jonas



More information about the fpc-pascal mailing list