Status of gdmd
Iain Buclaw
ibuclaw at gdcproject.org
Mon Dec 16 04:36:44 PST 2013
On 16 December 2013 12:14, Iain Buclaw <ibuclaw at gdcproject.org> wrote:
> On 16 December 2013 11:22, Joseph Rushton Wakeling
> <joseph.wakeling at webdrake.net> wrote:
>> On 16/12/13 11:59, Iain Buclaw wrote:
>>>
>>> I'd need to know what undefined reference errors there were and what
>>> the simple program was. ;)
>>
>>
>> No program seems immune :-) But try this:
>>
>> ///////////////////////////////////
>> import std.stdio;
>>
>> void main()
>> {
>> writeln("Hello, gdmd!");
>> }
>> ///////////////////////////////////
>>
>> ... which compiled with gdc proper works fine, but when compiled with gdmd
>> results in this:
>>
>
> OK, it's a driver bug. Reproduced using:
>
> gdc -c hello.d
> gdc hello.o
>
Luckily for you the driver is separate from the compiler proper, so
you don't need to recompile the entire gcc sources. ;)
https://github.com/D-Programming-GDC/GDC/commit/588d89f5c087329c66663410a17257760b68f040
More information about the D.gnu
mailing list