D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 8736 - DMD should translate slashes in -of on Windows
Summary: DMD should translate slashes in -of on Windows
Status: RESOLVED DUPLICATE of issue 8733
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: All All
: P2 normal
Assignee: No Owner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-29 14:06 UTC by David Nadlinger
Modified: 2012-09-29 16:58 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description David Nadlinger 2012-09-29 14:06:15 UTC
Currently, using slashes in DMD paths works in a cross-platform manner everywhere except for the -of argument. The latter gets passed verbatim to OPTLINK, which can only handle backslashes.

This is quite annoying because it needs special cases in for cross-platform, cross-compiler build systems, see e.g. https://github.com/apache/thrift/blob/trunk/aclocal/ax_dmd.m4#L68.
Comment 1 Andrej Mitrovic 2012-09-29 16:58:37 UTC
(In reply to comment #0)
> Currently, using slashes in DMD paths works in a cross-platform manner
> everywhere except for the -of argument. The latter gets passed verbatim to
> OPTLINK, which can only handle backslashes.
> 
> This is quite annoying because it needs special cases in for cross-platform,
> cross-compiler build systems, see e.g.
> https://github.com/apache/thrift/blob/trunk/aclocal/ax_dmd.m4#L68.

Guess that counts as vote++. :)

*** This issue has been marked as a duplicate of issue 8733 ***