compiling dmd

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Tue Dec 27 10:09:34 PST 2011


On 12/27/11 12:03 PM, Walter Bright wrote:
> On 12/27/2011 9:40 AM, Andrei Alexandrescu wrote:
>> On 12/27/11 10:50 AM, Trass3r wrote:
>>> But even the dmd source itself has to be rebuilt every time if you don't
>>> want strange errors and that's C++.
>>>
>>> I don't even know if it's a laughing matter or not.
>>
>> I think it's a makefile matter.
>
> The makefile for dmd doesn't have the dependencies on .h files set up
> properly. If a .h file is changed, the thing to do is make clean and
> then build.
>
> (Even when I do set up the .h file dependencies right, bit rot creeps in
> and wastes my time trying to figure out what went wrong. I just make
> clean and rebuild.)

Problem is lack of automation (in this case makdepend). As usual, I have 
an optimistic view on the help that automation can bring to our project.

Andrei


More information about the Digitalmars-d mailing list