Compile from stdin

BCS ao at pathlink.com
Tue May 6 15:38:15 PDT 2008


Reply to Benjamin,

> Hi!
> Is there a way to compile a sourcecode from stdin? It would be very
> helpful to be able to compile a sourcecode from stdin direct into an
> object file, without saving it first into a temporary file.
> Like using
> type test.d |dmd
> dmd < test.d
> Or is it possible with gdc?
> 
> Thanks in advance.
> 

linux only as well but their might be some way to force the <(...) construct 
to be usable

Walter: any way we can get a "don't adjust the filename" flag?





More information about the Digitalmars-d mailing list