www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - No map file?

reply Frank Benoit <keinfarbton googlemail.com> writes:
How can i make DMD (link/optlink) not to generate a map file?

-L/NOM or -LNOMAP

both seem not work.
Mar 23 2009
next sibling parent reply torhu <no spam.invalid> writes:
On 23.03.2009 10:02, Frank Benoit wrote:
 How can i make DMD (link/optlink) not to generate a map file?

 -L/NOM or -LNOMAP

 both seem not work.
I don't know, but bud manages this somehow, so Derek Parnell might know.
Mar 23 2009
parent Jarrett Billingsley <jarrett.billingsley gmail.com> writes:
On Mon, Mar 23, 2009 at 11:11 AM, torhu <no spam.invalid> wrote:
 On 23.03.2009 10:02, Frank Benoit wrote:
 How can i make DMD (link/optlink) not to generate a map file?

 -L/NOM or -LNOMAP

 both seem not work.
I don't know, but bud manages this somehow, so Derek Parnell might know.
rm *.map :P
Mar 23 2009
prev sibling parent reply Derek Parnell <derek psych.ward> writes:
On Mon, 23 Mar 2009 10:02:28 +0100, Frank Benoit wrote:

 How can i make DMD (link/optlink) not to generate a map file?
 
 -L/NOM or -LNOMAP
 
 both seem not work.
You can't using dmd. It doesn't generate the right linker options for you to avoid the map file. I do it in Bud by not having DMD invoke the linker, instead I have Bud invoke the linker with the right options. The easiest way is to delete the .map files after compiling. -- Derek Parnell Melbourne, Australia skype: derek.j.parnell
Mar 23 2009
parent Frank Benoit <keinfarbton googlemail.com> writes:
Derek Parnell schrieb:
 On Mon, 23 Mar 2009 10:02:28 +0100, Frank Benoit wrote:
 
 How can i make DMD (link/optlink) not to generate a map file?

 -L/NOM or -LNOMAP

 both seem not work.
You can't using dmd. It doesn't generate the right linker options for you to avoid the map file. I do it in Bud by not having DMD invoke the linker, instead I have Bud invoke the linker with the right options. The easiest way is to delete the .map files after compiling.
Ok, so i created http://d.puremagic.com/issues/show_bug.cgi?id=2760 Thanks for the answer.
Mar 25 2009