[fpc-pascal] Compilation progress

OBones obones at free.fr
Fri Apr 27 09:22:33 CEST 2012


Jonas Maebe wrote:
> On 26 Apr 2012, at 17:31, OBones wrote:
>
>> Is there a way get progress information output by the compiler while building a project?
>> I tried the -vt option, but I can't figure out a way to parse this and get something like current value and max while the lines are output.
>> I also tried to look in the lazarus sources but could not figure out how they do it either.
> -vl shows progress every 100 lines. The compiler only knows the total number of lines once it reaches the end of the source file, so it does not print the total until it is finished.
Hum, nice to know about -vl because I know the total number of lines as 
I generated the file just before calling FPC.
I'll work on that, thanks for the pointers




More information about the fpc-pascal mailing list