www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - dmd -o- -map prevents creation of map file?

reply Pierre Rouleau <prouleau001 gmail.com> writes:
Hi all,

dmd 2.047 help states that the -map option switch "generate linker .map 
file".

But when compiling a single (stand-alone) source file, dmd seems to 
generate the .map file even if the -map switch is not present.  Is this 
wanted? Should it not simply generate the .map file only when the -map 
option is present on the command line?
Jun 26 2010
parent div0 <div0 users.sourceforge.net> writes:
On 26/06/2010 22:00, Pierre Rouleau wrote:
 Hi all,

 dmd 2.047 help states that the -map option switch "generate linker .map
 file".

 But when compiling a single (stand-alone) source file, dmd seems to
 generate the .map file even if the -map switch is not present. Is this
 wanted? Should it not simply generate the .map file only when the -map
 option is present on the command line?
it would be nice if it didn't. I've never had a use for the map file. -- My enormous talent is exceeded only by my outrageous laziness. http://www.ssTk.co.uk
Jun 26 2010