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.
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 Best regards -- Zaher Dirkey
_______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel