www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - Is this a bug? (-L broken)

reply pragma <pragma_member pathlink.com> writes:
For whatever reason, DMD seems to think that everything passed to the linker via
-L should be prefixed with "NOI".  I did the following to try an coerce optlink
to yield a more explicit .map file.

C:\dev\dsp\trunk\ddl>dmd foobar.d -LM
c:\dev\dmd\bin\..\..\dm\bin\link.exe foobar,,,user32+kernel32/noiM;
OPTLINK (R) for Win32  Release 7.50B1
Copyright (C) Digital Mars 1989 - 2001  All Rights Reserved

OPTLINK : Warning 9: Unknown Option : NOIM

- EricAnderton at yahoo
Aug 13 2005
next sibling parent reply Manfred Nowak <svv1999 hotmail.com> writes:
pragma <pragma_member pathlink.com> wrote:

[...]
 C:\dev\dsp\trunk\ddl>dmd foobar.d -LM
[...] Do you mean dmd foobar -L" -M" -manfred
Aug 13 2005
parent pragma <pragma_member pathlink.com> writes:
In article <ddmjm6$167u$1 digitaldaemon.com>, Manfred Nowak says...
pragma <pragma_member pathlink.com> wrote:

[...]
 C:\dev\dsp\trunk\ddl>dmd foobar.d -LM
[...] Do you mean dmd foobar -L" -M"
Manfred, thank you for smacking me with a clue-by-four. I honestly didn't think that would work at first. :) It also looks like the following works as well: - EricAnderton at yahoo
Aug 14 2005
prev sibling parent reply "Walter" <newshound digitalmars.com> writes:
Try:
    -L/MAP
Aug 15 2005
parent pragma <pragma_member pathlink.com> writes:
In article <ddr467$1ogm$1 digitaldaemon.com>, Walter says...
Try:
    -L/MAP
Ahh.. thank you Walter. I'm using verbose map output to help debug my OMF parser. This will speed things up a bit. I've noticed that DMD/DMC is quite merciful in that it doesn't use the full legacy breadth of the spec. For that, I am *very* grateful. But man, are fixups a mess to parse and interpret. ;) - EricAnderton at yahoo
Aug 16 2005