[m-rev.] for review: start using --generate-dependencies-ints

Zoltan Somogyi zoltan.somogyi at runbox.com
Sat Oct 21 16:30:37 AEDT 2023


On 2023-10-21 16:25 +11:00 AEDT, "Julien Fischer" <jfischer at opturion.com> wrote:
>> Do you have profiling data? If not, could you get some without undue
>> effort?
> 
> If you mean mprof style profiling data, no, time profiling is not
> supported on Windows (no interval timer). I will instrument the compiler
> to record some timings.

Would compiling mmc to C code in hlc.gc and then turning on (the windows
equivalent of) -g on the C compiler work? It could be quicker, and would be
good enough.

>>> the main
>>> problem is that there very little visual feedback on what is happening.
>>> (I initially though that the compiler had gone into a loop, until I
>>> turned on --verbose.)
>>
>> Fixing that would be easy. We could
>>
>> - print a message at the start about "making dependencies and all interface files",
>> - print a message "about to make all .intN files" at the start of each phase, and/or
>> -print "made/about to make x.intN" for each interface file.
>>
>> I would be fine with any combination, and we could even pick different combinations
>> on different OSs. What do other people prefer?
> 
> I think it should just mimic the output of --make when it is creating the
> interface files as closely as practicable.

That works for me.

Zoltan.


More information about the reviews mailing list