[Lazarus] make clean all after a unit is relocated

zeljko zeljko at holobit.net
Mon Oct 24 13:29:01 CEST 2011


On Monday 24 of October 2011 13:03:57 Mattias Gaertner wrote:
> On Mon, 24 Oct 2011 10:24:01 +0200
> 
> zeljko <zeljko at holobit.net> wrote:
> > On Monday 24 of October 2011 10:02:31 Max Vlasov wrote:
> > > Hi,
> > > 
> > > I have a strange problem with make clean all. I didn't update and
> > > compile windows version for some time. During this period
> > > LConvEncoding migrated to Components/Lazutils. When I tried to "make
> > > clean all" with the latest version, the compiler stopped complaining
> > > about this unit (not found). Only when I manually cleaned the old
> > > /units/i386-win32 where previous LConvEncoding.o and ppu lived, the
> > > compiler moved further. Shouldn't  "make clean all" handle such things
> > > or is it something wrong with my particular configuration?
> > 
> > That's old problem. make bigideclean or make clean should cleanup
> > lcl/units/ including widgetsets but it doesn't, so manual intervention
> > is needed.
> 
> It works here:
> 
> touch lcl/units/x86_64-linux/bla.ppu
> make clean
> 
> Result: The file is gone.
> 
> Maybe this problem only appears under windows?

1.No, sometimes (but indeed sometimes) I got it under linux too.
2.Another thing is when I work something to fix something inside eg gtk2 
widgetset, I'm working on project, and added eg. DebugLn('Something') in some 
proc in gtk2.
Now rebuild project ... lcl isn't rebuilded ?!? why ? now I must cd to 
lcl/units/i386-linux/gtk2 and manually remove ppus and others, and then 
rebuild test project again.

zeljko
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20111024/2e20aa0a/attachment-0003.html>


More information about the Lazarus mailing list