December 24, 2005 Re/moving the .map file? | ||||
---|---|---|---|---|
| ||||
I really hate having non-source file pollution in my source directory. Everytime I compile a D program, I wind up with a .map file in my source directory. I've successfully sent my binary and object files to other directories, but I can't figure out how to relocate the .map file. I suspect the .map file is generated by the linker, so I tried to find a linker flag that would either relocate or drop the .map file. So far I haven't found such a flag. BTW, what is the .map file? Maybe I'll just hack Build to delete or relocate it. Thanks, Garett |
December 24, 2005 Re: Re/moving the .map file? | ||||
---|---|---|---|---|
| ||||
>I really hate having non-source file pollution in my source directory.
>
>Everytime I compile a D program, I wind up with a .map file in my source directory. I've successfully sent my binary and object files to other directories, but I can't figure out how to relocate the .map file.
>
>I suspect the .map file is generated by the linker, so I tried to find a linker flag that would either relocate or drop the .map file. So far I haven't found such a flag.
>
>BTW, what is the .map file? Maybe I'll just hack Build to delete or relocate it.
>
>Thanks,
>Garett
Even if I'm using build I always have a batch file I use to compile. I
do this because I don't want to type out the args, but this also lets me
add other commands like del *.map and del *.obj (because '-o-' crashes
dmd sometimes)
Chris
|
Copyright © 1999-2021 by the D Language Foundation