www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 2760] New: DMD can't prevent optlink from generating a map file

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2760

           Summary: DMD can't prevent optlink from generating a map file
           Product: D
           Version: 1.041
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P3
         Component: DMD
        AssignedTo: bugzilla digitalmars.com
        ReportedBy: benoit tionex.de


-LNOMAP
-L/NOMAP
Both do not work.


-- 
Mar 25 2009
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2760






Created an attachment (id=301)
 --> (http://d.puremagic.com/issues/attachment.cgi?id=301&action=view)
Pass NUL to linker for /nomap.

This patch simply checks for /nomap and passes NUL on to the linker for the
mapfile if it is found.

If one wants to take this enhancement, it seems like this would be the best way
without modifying OPTLINK.

-[Unknown]


-- 
Mar 29 2009