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

           Summary: dmd -od doesn't make it to optlink's command line for
                    map files
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: bra...@puremagic.com


--- Comment #0 from Brad Roberts <bra...@puremagic.com> 2010-09-06 15:53:28 PDT 
---
Despite specifying a directory for output, the map file is generated in the
current directory.

example, test.d:
void main() {}

$ mkdir output
$ dmd -odoutput -ofoutput\\test.exe test.d
  >> from -v: link.exe "output\test","output\test.exe",,user32+kernel32/noi;
$ ls -lR
.:
total 5
drwxr-xr-x+ 1 braddr None    0 2010-09-06 15:49 output
-rw-r--r--  1 braddr None   15 2010-09-06 15:48 test.d
-rwxr-xr-x  1 braddr None 2573 2010-09-06 15:49 test.map

./output:
total 101
-rwxr-xr-x 1 braddr None 101404 2010-09-06 15:49 test.exe
-rwxr-xr-x 1 braddr None    338 2010-09-06 15:49 test.obj

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

Reply via email to