[fpc-pascal] How to rebuild an fpc package

2020-02-11 Thread Luis - SoftSAT Sistemas via fpc-pascal
> I guess the problem is how to tell the make system when to use installed > units and when to recompile units.  Although it should be possible to figure > out how to do this, I rather suggest an easier fix: just recompile everything > with "make all install" from the base of the fpc source

Re: [fpc-pascal] How to rebuild an fpc package

2020-02-11 Thread Sven Barth via fpc-pascal
Christo Crause via fpc-pascal schrieb am Di., 11. Feb. 2020, 19:42: > On Tue, Feb 11, 2020 at 4:57 PM Luis - SoftSAT Sistemas < > l...@softsatsistemas.com.br> wrote: > >> > You are using relative paths in -Fu and your current folder is >> c:\lazarus\fpc\3.0.4\source\packages\fcl-db, so >> >

Re: [fpc-pascal] How to rebuild an fpc package

2020-02-11 Thread Christo Crause via fpc-pascal
On Tue, Feb 11, 2020 at 4:57 PM Luis - SoftSAT Sistemas < l...@softsatsistemas.com.br> wrote: > > 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

Re: [fpc-pascal] ptop and comma.

2020-02-11 Thread fredvs via fpc-pascal
> It should be relatively easily possible, because colon, period and so on are also treated specially. > if "," is recognized, a 'spaft' option will do what you want. Ha, ok, I will explore this. Thanks. Fre;D - Many thanks ;-) -- Sent from:

Re: [fpc-pascal] ptop and comma.

2020-02-11 Thread Michael Van Canneyt
On Tue, 11 Feb 2020, fredvs via fpc-pascal wrote: Hello everybody. I just discovered ptop. Well done Michael! I just ported and extended an old system. Thanks to ptop, I was able to make the code of uos.pas (+- 10.000 lines) more beautiful. Congratulation Michael, ptop can deal with the

[fpc-pascal] ptop and comma.

2020-02-11 Thread fredvs via fpc-pascal
Hello everybody. I just discovered ptop. Well done Michael! Thanks to ptop, I was able to make the code of uos.pas (+- 10.000 lines) more beautiful. Congratulation Michael, ptop can deal with the lot of {$IF DEFINED(something)} of my code. I was not able to do it with Jedi, who refused my

[fpc-pascal] How to rebuild an fpc package

2020-02-11 Thread Luis - SoftSAT Sistemas via fpc-pascal
> 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

Re: [fpc-pascal] How to rebuild an fpc package

2020-02-11 Thread Christo Crause via fpc-pascal
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. > >

[fpc-pascal] How to rebuild an fpc package

2020-02-11 Thread Luis - SoftSAT Sistemas via fpc-pascal
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

[fpc-pascal] How to rebuild an fpc package

2020-02-11 Thread Luis - SoftSAT Sistemas via fpc-pascal
Resend as plain text. 10.02.2020, 14:09, "Luis - SoftSAT Sistemas via fpc-pascal" : > I'am on Windows and installed latest lazarus version(2.0.6), but TCSVDataset > from fcl-db package have some bugs so i ported some fixes, now i need rebuild > it, but i failed miserably. > > What i tryed > CD