Module without object file?

kdevel kdevel at vogtner.de
Sat Jan 8 20:30:31 UTC 2022


On Friday, 7 January 2022 at 09:18:29 UTC, frame wrote:
> On Thursday, 6 January 2022 at 22:54:59 UTC, kdevel wrote:
>
>> In my setup make decides which file to (re)compile. Just found 
>> that dmd has the option -makedeps which resembles gcc's -M but 
>> theres no -MM to excluded dependencies from system files. Also 
>> gcc -M/-MM does not compile while dmd always generated object 
>> file(s), too. Is there any way to stop this object file 
>> generation?
>
> Yes, `-o-`. Not sure about `-MM` equivalent but if you manually 
> process the dependencies you can filter the "system" files out 
> anyway.

grep -v will do.

> I don't understand how your setup works. Is there any problem 
> by recompiling those files with dmd `-i` switch?

Everything works fine.


More information about the Digitalmars-d-learn mailing list