D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 10196 - RDMD: RDMD can't be used from MSys
Summary: RDMD: RDMD can't be used from MSys
Status: RESOLVED FIXED
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: 2013-05-28 15:28 UTC by Andrej Mitrovic
Modified: 2013-06-14 14:10 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 Andrej Mitrovic 2013-05-28 15:28:37 UTC
While attempting to implement the RDMD test-suite with the existing test runner script (to implement Issue 9662) I've ran into this:

-----
Administrator@ANDREJ-PC /c/dmd-git/dmd2/src/dmd/test
$ rdmd test.d
DMD v2.063 DEBUG
OPTLINK (R) for Win32  Release 8.00.12
Copyright (C) Digital Mars 1989-2010  All rights reserved.
http://www.digitalmars.com/ctg/optlink.html
OPTLINK : Warning 9: Unknown Option : USERS
OPTLINK : Warning 9: Unknown Option : ADMINI~1
OPTLINK : Warning 9: Unknown Option : APPDATA
OPTLINK : Warning 9: Unknown Option : LOCAL
OPTLINK : Warning 9: Unknown Option : TEMP\.RDMD\RDMD
OPTLINK : Warning 9: Unknown Option : TEST.D
OPTLINK : Warning 9: Unknown Option : 968A8F98F046FB892280B36549F59404\OBJS\TEST
OPTLINK : Warning 9: Unknown Option : USERS
OPTLINK : Warning 9: Unknown Option : ADMINI~1
OPTLINK : Warning 9: Unknown Option : APPDATA
OPTLINK : Warning 9: Unknown Option : LOCAL
OPTLINK : Warning 9: Unknown Option : TEMP\.RDMD\RDMD
OPTLINK : Warning 9: Unknown Option : TEST.D
OPTLINK : Warning 9: Unknown Option : 968A8F98F046FB892280B36549F59404\TEST.EXE
C:.obj
 Error 2: File Not Found C:.
-----

Perhaps it's possible to fix this in RDMD.
Comment 1 Andrej Mitrovic 2013-05-28 15:30:23 UTC
Almost forgot, here's the -chatty version:

-----
$ rdmd --chatty test.d
stat C:/Users/ADMINI~1/AppData/Local/Temp\.rdmd
stat C:/Users/ADMINI~1/AppData/Local/Temp\.rdmd\rdmd-test.d-968A8F98F046FB892280B36549F59404
stat C:/Users/ADMINI~1/AppData/Local/Temp\.rdmd\rdmd-test.d-968A8F98F046FB892280B36549F59404\
rdmd.deps
read C:/Users/ADMINI~1/AppData/Local/Temp\.rdmd\rdmd-test.d-968A8F98F046FB892280B36549F59404\
rdmd.deps
stat c:\dmd-git\dmd2\windows\bin\sc.ini
stat test.d
"dmd" "-ofC:/Users/ADMINI~1/AppData/Local/Temp\.rdmd\rdmd-test.d-968A8F98F046FB892280B36549F5
9404\test.exe" "-odC:/Users/ADMINI~1/AppData/Local/Temp\.rdmd\rdmd-test.d-968A8F98F046FB89228
0B36549F59404\objs" "-I." "test.d"
DMD v2.063 DEBUG
OPTLINK (R) for Win32  Release 8.00.12
Copyright (C) Digital Mars 1989-2010  All rights reserved.
http://www.digitalmars.com/ctg/optlink.html
OPTLINK : Warning 9: Unknown Option : USERS
OPTLINK : Warning 9: Unknown Option : ADMINI~1
OPTLINK : Warning 9: Unknown Option : APPDATA
OPTLINK : Warning 9: Unknown Option : LOCAL
OPTLINK : Warning 9: Unknown Option : TEMP\.RDMD\RDMD
OPTLINK : Warning 9: Unknown Option : TEST.D
OPTLINK : Warning 9: Unknown Option : 968A8F98F046FB892280B36549F59404\OBJS\TEST
OPTLINK : Warning 9: Unknown Option : USERS
OPTLINK : Warning 9: Unknown Option : ADMINI~1
OPTLINK : Warning 9: Unknown Option : APPDATA
OPTLINK : Warning 9: Unknown Option : LOCAL
OPTLINK : Warning 9: Unknown Option : TEMP\.RDMD\RDMD
OPTLINK : Warning 9: Unknown Option : TEST.D
OPTLINK : Warning 9: Unknown Option : 968A8F98F046FB892280B36549F59404\TEST.EXE
-----

I think this *might* be a problem with -of, which is fixed by my pull https://github.com/D-Programming-Language/dmd/pull/1208 which hasn't been pulled yet.
Comment 2 Andrej Mitrovic 2013-06-14 14:10:07 UTC
Seems to be resolved now by the -of pull.