digitalmars.D.learn - rdmd only works with files in current directory on Windows?
- simendsjo (7/7) Aug 14 2010 c:\temp\src\test.d
- Lars T. Kyllingstad (6/16) Aug 14 2010 It doesn't work on Linux either, you have to be in the same directory as...
- Nick Sabalausky (10/25) Aug 22 2010 It was already fixed in trunk 10 months ago (r1315:
c:\temp\src\test.d c:\temp>rdmd src\test The system cannot find the path specified. c:\temp>rdmd src/test std.file.FileException: (...)\.rdmd\rdmd-src/test.d-(...): The system cannot find the path specified. Using rdmd 20090902, dmd 2.048 and 64 bit win7
Aug 14 2010
On Sat, 14 Aug 2010 14:58:05 +0200, simendsjo wrote:c:\temp\src\test.d c:\temp>rdmd src\test The system cannot find the path specified. c:\temp>rdmd src/test std.file.FileException: (...)\.rdmd\rdmd-src/test.d-(...): The system cannot find the path specified. Using rdmd 20090902, dmd 2.048 and 64 bit win7It doesn't work on Linux either, you have to be in the same directory as the source file. But I'm not sure it was ever supposed to work, i.e. Andrei didn't account for that use when he wrote it. If you really want this to work, you could submit an enhancement request to bugzilla. -Lars
Aug 14 2010
"Lars T. Kyllingstad" <public kyllingen.NOSPAMnet> wrote in message news:i47vkc$2vb4$1 digitalmars.com...On Sat, 14 Aug 2010 14:58:05 +0200, simendsjo wrote:It was already fixed in trunk 10 months ago (r1315: http://www.dsource.org/projects/phobos/log/trunk/tools/rdmd.d ), but never got included in the DMD distributions. I nagged about it over on "digitalmars.D" recently and Walter has promised the latest RDMD will finally be included with the next DMD release. The version in trunk *does* still have problems if you need to use the "-Ipath" switch, but I've submitted a patch that fixes that: http://d.puremagic.com/issues/show_bug.cgi?id=4672c:\temp\src\test.d c:\temp>rdmd src\test The system cannot find the path specified. c:\temp>rdmd src/test std.file.FileException: (...)\.rdmd\rdmd-src/test.d-(...): The system cannot find the path specified. Using rdmd 20090902, dmd 2.048 and 64 bit win7It doesn't work on Linux either, you have to be in the same directory as the source file. But I'm not sure it was ever supposed to work, i.e. Andrei didn't account for that use when he wrote it. If you really want this to work, you could submit an enhancement request to bugzilla.
Aug 22 2010