Users of mess up there system with wrong dmd.conf files and different dmd versions. DMDs lack of information results in lots of confusion. It would be helpful if dmd could output the absolute path to the dmd binary and the used dmd.conf. This kind output would be nice: dmd main.d -v Binary: /usr/bin/dmd Config: /etc/dmd.conf parse main importall main import object (object.d) object.d: Error: module object cannot read file 'object.d' Without the second line, it would be hard to figure out where dmd expects object.d.
changeset 419
The path for the dmd binary path is not absolute (Ubuntu 32bit): $dmd main.d -v binary dmd version v1.058 config /opt/dmd/bin/dmd.conf parse main importall main import object (/opt/dmd/bin/../import/object.di) [..] The necessary code should be in inifile.c. DMD needs to look for the dmd.conf at the same place the dmd binary is. Thanks!
Fixed DMD1.058 and DMD2.043.