What is the state of Microcontroller support in d?

Dan Walmsley via Digitalmars-d digitalmars-d at puremagic.com
Tue Jun 20 02:46:13 PDT 2017


On Tuesday, 20 June 2017 at 09:36:54 UTC, Mike wrote:
> On Tuesday, 20 June 2017 at 08:54:01 UTC, Dan Walmsley wrote:
>>
>> Regarding not being able to --gc-sections, perhaps this was 
>> fixed in LDC?
>> http://forum.dlang.org/post/cxjubpxxknlkqvdgyibj@forum.dlang.org
>
> My last test with LDC is here:  
> https://issues.dlang.org/show_bug.cgi?id=14758#c14
>
> Try to get that code to compile with LDC and let me know what 
> `objdump -s -j .rodata test` gives you.
>
> Mike

No longer compiles:

"Error: Missing class declaration: ModuleInfo

        Please check that object.di is included and valid"

So I add
`
struct ModuleInfo
{

}
`

but then ldc crashes...

added an issue here:
https://github.com/ldc-developers/ldc/issues/2174


More information about the Digitalmars-d mailing list