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

Reinier Olislagers reinierolislagers at gmail.com
Mon Oct 8 07:51:47 CEST 2012


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

Regards,
Reinier




More information about the Lazarus mailing list