<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 17, 2015 at 9:36 AM, Henry Vermaak <span dir="ltr"><<a href="mailto:henry.vermaak@gmail.com" target="_blank">henry.vermaak@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Tue, Mar 17, 2015 at 06:03:15PM +0200, FreeMan wrote:<br>
> make -s clean .......<br>
> this my compiler make command line.<br>
<br>
Eh? You're using lazbuild, why are you talking about make?<br>
<br>
If you are building lazarus with lazbuild, you can add compiler options,<br>
under Tools->Configure "Build Lazarus", see "Options". Add the options<br>
for the build mode that you're using.<br>
<br>
Henry<br>
<br>
--<br>
_______________________________________________<br></blockquote></div><br><br></div><div class="gmail_extra">There is an important problem in Lazarus compilations :<br><br></div><div class="gmail_extra">Assume some units only include source files in their interface parts having record types ( i.e. , there is no any declaration statement within unit source and no any entries in their implementation parts ) .<br></div><div class="gmail_extra"><br>Other units include source files containing procedures and use type declaration units .<br><br><br></div><div class="gmail_extra">If a modification is performed in one of the procedure sources , Lazarus is detecting it and compiling that unit .<br><br></div><div class="gmail_extra">BUT<br><br></div><div class="gmail_extra">If a new record element is added to one of the records , it is NOT detecting that change and it is using the old compiled .ppu and .o for this type definition source file included unit with <br></div><div class="gmail_extra">a subsequent error message that the newly added element is NOT defined in the respective record .<br><br><br></div><div class="gmail_extra">I am using a batch or shell script file to erase all of the .ppu and .o files before starting the compilation .<br><br></div><div class="gmail_extra">Selecting "Build" from Lazarus "Run" menu is starting to build Lazarus itself which is NOT possible because Lazarus is owned by the "root" .<br><br></div><div class="gmail_extra">Using -B option seems that it is NOT effective when there are existing .ppu and .o files .<br><br><br></div><div class="gmail_extra">Then the only way is to "clean" existing .ppu or .o files in a selected way .<br><br></div><div class="gmail_extra">I do not know why <br><br></div><div class="gmail_extra">make -s clean <br><br><br></div><div class="gmail_extra">is used , but implication is that deletion of existing .ppu and .o files are required before starting to compilation .<br><br><br><br></div><div class="gmail_extra">Thank you very much .<br><br><br></div><div class="gmail_extra">Mehmet Erol Sanliturk<br><br><br></div><div class="gmail_extra"><br><br></div></div>