dmd.conf problems on dmd.2.019 (object.d not readable)

ore-sama spam at here.lot
Mon Oct 27 04:59:45 PDT 2008


Charles Hixson Wrote:

> Message:
> object.d: module object cannot read file 'object.d'
> 
> The fix was to alter dmd.conf, thus:
> 
> [Environment]
> 
> DFLAGS=-I/usr/local/dmd/src/phobos -L-L/usr/local/dmd/lib
> #DFLAGS=-I%@P%/../src/phobos -L-L%@P%/../lib
> 
> I'm running on Ubuntu Hardy Heron.  dmd is installed in /usr/local/dmd, 
> but the execution is via symbolic links in /usr/local/bin.  My guess is 
> that it's reading the compilation path via the links rather than the 
> installation location.

But how can it know, where it's installed?
%@P% is replaced with directory of conf file, where does it reside?


More information about the Digitalmars-d-bugs mailing list