Thread overview
Is this a bug? (-L broken)
Aug 14, 2005
pragma
Aug 14, 2005
Manfred Nowak
Aug 15, 2005
pragma
Aug 15, 2005
Walter
Aug 16, 2005
pragma
August 14, 2005
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
August 14, 2005
pragma <pragma_member@pathlink.com> wrote:

[...]
> C:\dev\dsp\trunk\ddl>dmd foobar.d -LM
[...]

Do you mean

dmd foobar -L" -M"


-manfred
August 15, 2005
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:

# dmd foobar -L-M

- EricAnderton at yahoo
August 15, 2005
Try:
    -L/MAP


August 16, 2005
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