Output of dmd and dmd.conf location

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Wed Mar 24 14:40:51 PDT 2010


On 03/24/2010 04:35 PM, Moritz Warning wrote:
> On Wed, 24 Mar 2010 16:06:02 -0500, Andrei Alexandrescu wrote:
>
>> On 03/24/2010 02:11 PM, Moritz Warning wrote:
>>> On Wed, 24 Mar 2010 13:55:12 -0500, Andrei Alexandrescu wrote:
>>>
> [..]
>>
>> Absolutely. I never know the full logic by which dmd.conf is found, it's
>> quite convoluted. You may want to submit a bugzilla enhancement request.
>> I don't think the dmd binary is essential, after all you launched it so
>> you can do a which dmd or whatever.
> I wouldn't know how to do that on Windows.
> Linux beginners might have the problem on Linux.
> - That one additional line wouldn't hurt.
>
>> But the name of the module being compiled would help.
> I am not sure what you mean.
> Do you mean "dmd -v" should write out the module name that is compiled at
> that moment? Sounds good.

Yes. If there's a module declaration output that, otherwise output the 
module name as inferred from the file name.

Andrei



More information about the Digitalmars-d mailing list