Bug 2285 – obj2asm uses \ instead of / on Linux

Status
RESOLVED
Resolution
INVALID
Severity
trivial
Priority
P2
Component
dmd
Product
D
Version
D1 (retired)
Platform
Other
OS
Linux
Creation time
2008-08-14T23:58:00Z
Last change time
2014-03-01T00:35:56Z
Assigned to
bugzilla
Creator
destructionator

Comments

Comment #0 by destructionator — 2008-08-14T23:58:12Z
If I run the linux version of obj2asm that is included in the dmd.zip on a .obj file, the output includes a message like the following: ;Can't open source file '.\start.d' That should be ./start.d on the Linux version.
Comment #1 by bugzilla — 2008-08-26T02:13:09Z
.obj files can only be compiled on Windows, and the source file name embedded in the .obj file will naturally refer to the source file on Windows as it existed when the .obj file was created. I believe this is correct behavior.