[Lazarus] make clean is leaving more than 20MB stuff behind (this number is after compression!)

Mattias Gaertner nc-gaertnma at netcologne.de
Mon Oct 8 08:02:41 CEST 2012

On Mon, 08 Oct 2012 07:51:47 +0200
Reinier Olislagers <reinierolislagers at gmail.com> wrote:

> On 8-10-2012 2:59, Bernd wrote:
> > I also tried distclean cleanall cleanbigide
> > 
> > There are compiled units all over the place in lib/* folders left over
> > after clean, a fresh download compresses into 46MB tarball, after
> > first successful build I cannot get it smaller than 65MB. How do I
> > *really* clean the source directory? Is there yet another makefile
> > target for this purpose or do I have to write a script and recursively
> > find and delete all these files myself?
> I had related problems with FPC apparently due to fpmake not cleaning
> everything.
> See message thread titled
> FPC x86+x64 win trunk failing to build (using fpcup): 2 different errors
> from September 20
> I modified my fpcup program to recursively delete all .ppu, .a, .o files
> in any directory with the right "cpu-os signature" (my term)
> (i386-linux...etc).
> Some of these .a and/or .o are provided by svn so I did an svn update
> after that.
> Don't know if this also applies to Lazarus...

No, it does not. L does not use fpmake and it does not
have .o, .ppu, .a files in svn.
The Makefiles use globbing to delete, for example *.ppu.

> In any case, for Lazarus fpcup employs the same strategy but also
> deletes .or and .res files in the "cpu-os signature" directories


More information about the Lazarus mailing list