dmd -I flag - how to use?

Steve Teale steve.teale at britseyeview.com
Mon Jun 4 00:19:37 PDT 2007


Frank Benoit Wrote:

> Steve Teale schrieb:
> > I am baffled.  If I put my sources in d:\x, and then use:
> > 
> > dmd -c -Id:\x whatever.d
> > 
> > the compiler says it can not find the module.  How do I use -I?
> 
> you need to give the source a absolute or correct relative path.
> The -I is only for imported modules (imported from within whatever.d).

Ah, I see, it's not a path as suggested by --help, it's a fully qualified name, and also contrary to what it says in --help, there needs to be a space between -I and the FQN.

Thanks Frank.



More information about the Digitalmars-d mailing list