Unilink - alternative linker for win32/64, DMD OMF extensions?

Walter Bright newshound2 at digitalmars.com
Sun Feb 13 11:56:21 PST 2011


Lutger Blijdestijn wrote:
> Walter Bright wrote:
> 
>> Akakima wrote:
>>>> Changing the object module format is not sufficient. The symbolic debug
>>>> info would have to be changed (and Microsoft's is undocumented) and then
>>>> there's the dependency on Microsoft's C runtime library if linking with
>>>> VC generated object files.
>>> I found some doc there:
>>>
>>>   http://pierrelib.pagesperso-orange.fr/exec_formats/index.html
>>>
>>> Microsoft Symbol and Type Information
>>> By TIS / Microsoft. Entry added 12/28/2004.
>>> Keywords: ms, symbol, type, info
>>> File: MS_Symbol_Type_v1.0.pdf
>>> « This document describes Microsoft Symbol and Type Information, a
>>> debugging information format fromMicrosoft Corporation for the 32-bit
>>> Windows environment. »
>>
>> That document describes the Codeview symbol debug format, which Microsoft
>> abandoned 15 years ago in favor of a proprietary format.
>>
>> Dmd generates that older format :-)
> 
> Are you going to do Elf? With optlink in D? (Does that even make sense?)

Elf is not a symbolic debug format. It is possible to use Codeview with Elf.

In any case, such decisions will have to revolve around the availability of 
things like debuggers.


More information about the Digitalmars-d mailing list