[fpc-devel] Purpose of "uses ... in"?

Mattias Gaertner nc-gaertnma at netcologne.de
Wed Jul 21 08:37:57 CEST 2010

On Tue, 20 Jul 2010 19:57:39 +0200
Zaher Dirkey <parmaja at gmail.com> wrote:

> uses
> >    myunit in '..\lib\myunit.pas',
> >
> > it is no need to change it even in the search path.
> >
> >
> I meant my project have folders like
> /proj/bin
> /proj/src
> /proj/lib
> i can move the dir /proj or my component package to any dir without need a
> changes.

So it is with search paths. They don't need to change when you move
your /proj.
I don't see your point.

> The other way we can use extrafpc.cfg, we can put relative path in
> "-Fu..\lib", but if you use units of packages you need to put many of pathes

Or use lazarus or msegui or makefiles or whatever build system you


More information about the fpc-devel mailing list