> You are using relative paths in -Fu and your current folder is > c:\lazarus\fpc\3.0.4\source\packages\fcl-db, so > -Fu../../rtl should expand to -Fuc:\lazarus\fpc\3.0.4\source\rtl - the > compiler is searching where it was told. This is done by the make file that come with the package.
> It may be easier to just specify the absolute path to the compiled RTL units, > for example: > -Fuc:\lazarus\fpc\3.0.4\units\rtl\your-target If i add this with `make OPT=-Fu....` it advances to next error and require another unit. >> C:/lazarus/fpc/3.0.4/bin/i386-win32/ppc386.exe fpmake.pp -n -Fu../../r if i edit the make file and remove the "-n" flag it compiles the fpmake but when fpmake is run its throws another error. Anyway, looks like there are some problem with the makefile or with something else on my system. Thanks for the reply! 11.02.2020, 12:29, "Christo Crause" <christo.cra...@gmail.com>: > On Tue, Feb 11, 2020 at 3:23 PM Luis - SoftSAT Sistemas via fpc-pascal > <fpc-pascal@lists.freepascal.org> wrote: >> Looking at unit search path the compiler are looking at "sources" dir >> instead of "units" dir with the compiled units and i dont know how to fix >> this. >> >> C:\lazarus\fpc\3.0.4\source\packages\fcl-db>make all OPT=-vut >> C:/lazarus/fpc/3.0.4/bin/i386-win32/ppc386.exe fpmake.pp -n -Fu../../r >> tl -Fu../../packages/paszlib -Fu../../packages/fcl-process >> -Fu../../packages/has >> h -Fu../../packages/libtar -Fu../../packages/fpmkunitĀ -vut _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal