Thread overview | |||||||
---|---|---|---|---|---|---|---|
|
March 23, 2009 No map file? | ||||
---|---|---|---|---|
| ||||
How can i make DMD (link/optlink) not to generate a map file? -L/NOM or -LNOMAP both seem not work. |
March 23, 2009 Re: No map file? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Frank Benoit | 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.
|
March 23, 2009 Re: No map file? | ||||
---|---|---|---|---|
| ||||
Posted in reply to torhu | 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
|
March 24, 2009 Re: No map file? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Frank Benoit | 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 |
March 25, 2009 Re: No map file? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Derek Parnell | 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. |
Copyright © 1999-2021 by the D Language Foundation