[lazarus] Unit search, why doesn't it stop?

Vincent Snijders vrs at dds.nl
Thu Apr 6 16:55:24 EDT 2000


Marc,

Thanks for thinking with me.

----- Original Message -----
From: Marc Weustink <weus at quicknet.nl>
> >It is true that I didn't give a path to customgroupbox.inc, but why does
> >ppc386 want to recompile the unit stdctrls? It found a IMHO correct and
> >usable stdsctrls.ppw.
>
> Just a guess: It doen't want to compile, it only checks if a recompile is
> necesary. It finds stdctrls.pp and wants to check the .inc
> If the ppw was in a different dir and stdctrls.pp wasn't found then It
> wouldn't be recompiled.
>
> Thinking of this, I can adjust the makefiles of LCL so that the units go
to
> a lcl/units dir, so that a make of lazarus alone doesnt require a rebuild
> of the lcl.....

Well, I just tried that. I move all the *.ppw and the *.ow files to the
freshly created lcl\units directory and removed them from the lcl-directory,
just to be sure.
Then again with the new lcl/units path:


E:\pp\source\lazarus\components\mwedit>ppc386 -Fu../../../rtl/win32 -Fu../..
/../lcl/win32 -Fu../../../packages/gtk -Fu../../lcl/units -vt mwkeycmds.pas
Unitsearch: stdctrls.ppw
Unitsearch: stdctrls.pp
Unitsearch: stdctrls.pas
Unitsearch: E:\pp\source\rtl\win32\stdctrls.ppw
Unitsearch: E:\pp\source\rtl\win32\stdctrls.pp
Unitsearch: E:\pp\source\rtl\win32\stdctrls.pas
Unitsearch: E:\pp\source\fcl\win32\stdctrls.ppw
Unitsearch: E:\pp\source\fcl\win32\stdctrls.pp
Unitsearch: E:\pp\source\fcl\win32\stdctrls.pas
Unitsearch: E:\pp\source\packages\gtk\stdctrls.ppw
Unitsearch: E:\pp\source\packages\gtk\stdctrls.pp
Unitsearch: E:\pp\source\packages\gtk\stdctrls.pas
Unitsearch: E:\pp\source\lazarus\lcl\units\stdctrls.ppw
PPU Loading E:\pp\source\lazarus\lcl\units\stdctrls.ppw
Unitsearch: stdctrls.pp
Unitsearch: stdctrls.pas
Unitsearch: E:\pp\source\rtl\win32\stdctrls.pp
Unitsearch: E:\pp\source\rtl\win32\stdctrls.pas
Unitsearch: E:\pp\source\fcl\win32\stdctrls.pp
Unitsearch: E:\pp\source\fcl\win32\stdctrls.pas
Unitsearch: E:\pp\source\packages\gtk\stdctrls.pp
Unitsearch: E:\pp\source\packages\gtk\stdctrls.pas
Unitsearch: E:\pp\source\lazarus\lcl\units\stdctrls.pp
Unitsearch: E:\pp\source\lazarus\lcl\units\stdctrls.pas
Unitsearch: e:\pp\bin\win32\stdctrls.pp
Unitsearch: e:\pp\bin\win32\stdctrls.pas
stdctrls.pp(13,17) Fatal: Can't find unit STDCTRLS
And now it can't find the stdctrls unit, but it load the ppw file.

It remains a mistery for me.

Vincent Snijders.







More information about the Lazarus mailing list