Compile from stdin

Walter Bright newshound1 at digitalmars.com
Thu May 8 13:10:17 PDT 2008


BCS wrote:
> Reply to Walter,
> 
>> BCS wrote:
>>
>>> Walter: any way we can get a "don't adjust the filename" flag?
>>>
>> I don't know what you mean.
>>
> 
> this:
> 
> dmd foo
> 
> looks for a file named "foo.d", I need to to look for "foo"

Are you using linux or windows? Also, dmd looks at the file extension to 
see what to do with the file. .o means object file, .a means library, 
etc. Having no extension causes problems. Why not just put an extension 
on it?



More information about the Digitalmars-d mailing list