D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 476 - DMD doesn't resolve its location properly on Windows
Summary: DMD doesn't resolve its location properly on Windows
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D1 (retired)
Hardware: x86 Windows
: P2 normal
Assignee: Walter Bright
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-02 14:02 UTC by Bradley Smith
Modified: 2020-08-10 13:26 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Bradley Smith 2006-11-02 14:02:09 UTC
If dmd.exe is run from its bin directory, linking does not occur correctly.

C:\>cd c:\dmd\bin

C:\dmd\bin>dmd c:\tmp.d
object.d: module object cannot read file 'object.d'

C:\dmd\bin>cd \

C:\>dmd c:\tmp.d
c:\dmd\bin\..\..\dm\bin\link.exe tmp,,,user32+kernel32/noi;
Comment 1 Walter Bright 2006-11-25 04:01:47 UTC
Fixed DMD 0.175
Comment 2 Dlang Bot 2020-08-10 13:26:06 UTC
dlang-community/dfmt pull request #499 "Break line on multiline strings" was merged into master:

- fa4ae7a6e87b90aa1252536b517bb936f844a135 by Eugen Wissner:
  Break line on multiline strings
  
  Fixes #476.

https://github.com/dlang-community/dfmt/pull/499