Yes, in NT 3.51, there was a fix to make forward slashes always work:

http://support.microsoft.com/kb/133701

Other than that, backslash is only required for UNC paths (i.e. 
\\servername\share\path).   But that has nothing to do with relative paths.

IMO, it's not that important that DMD supports universal options across 
platforms.  It's more natural for someone on that platform to deal with what 
they are used to.  DMD isn't Java.

If it takes a couple version statements or a couple different lines in a 
makefile so dmd doesn't have to deal with the various linker option 
differences, 
I think that's fine.

-Steve



----- Original Message ----
> From: Walter Bright <[email protected]>
> To: Discuss the internals of DMD <[email protected]>
> Sent: Sat, August 14, 2010 2:33:37 PM
> Subject: Re: [dmd-internals] Shouldn't there be a dmd switch to specify 
> search 
>paths for libraries?
> 
> 
> 
> [email protected] wrote:
> >> Search  paths are never platform-independent.
> > 
> > True, but relative paths  work. dmd also recognizes something like -I../.. 
> > on 
>Windows.
> > 
> 
> Using / for paths on Windows sometimes works, often and unpredictably  not.
> _______________________________________________
> dmd-internals mailing  list
> [email protected]
> http://lists.puremagic.com/mailman/listinfo/dmd-internals
> 


      
_______________________________________________
dmd-internals mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/dmd-internals

Reply via email to