[Issue 4833] dmd -od doesn't make it to optlink's command line for map files

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Jun 21 14:52:44 PDT 2011


http://d.puremagic.com/issues/show_bug.cgi?id=4833


Andrej Mitrovic <andrej.mitrovich at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
                 CC|                            |andrej.mitrovich at gmail.com
         Resolution|FIXED                       |


--- Comment #3 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2011-06-21 14:47:56 PDT ---
This isn't fixed in 2.053, tested on XP32:

dir structure:
\buildme\foo\bar.d

current dir:
\buildme\

commands:
$ dmd -offoo\bar.exe -od\foo\ foo\bar.d

$ dir
21/06/2011  23:43    <DIR>          .
21/06/2011  23:43    <DIR>          ..
21/06/2011  23:43             2,573 bar.map
21/06/2011  23:43    <DIR>          foo

Also tried with:
$ dmd -of%cd%\foo\bar.exe -od%cd%\foo\ foo\bar.d

That should expand it to an absolute path, but it still genereates a map file
in the current directory where DMD was invoked.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list