wiki: D on AVR

Ernesto Castellotti erny.castell at gmail.com
Thu Nov 28 17:18:59 UTC 2019


On Thursday, 28 November 2019 at 08:31:36 UTC, Dukc wrote:
> On Wednesday, 27 November 2019 at 19:30:15 UTC, Ernesto 
> Castellotti wrote:
>>
>> The support to targets that use 16 bits as a pointer size has 
>> already been added to LDC 
>> (https://github.com/ldc-developers/ldc/pull/2194), so minimal 
>> AVR support is present (AVR uses 16 bit pointers).
>
> Don't you run into trouble with the fact that the defualt 
> integer size is 32 bits?
In LDC, the integers size depends on the target architecture.

https://github.com/ldc-developers/ldc/blob/0a1a40ebc7ee29b02a6e92daa389e3c5611f086f/gen/tollvm.cpp#L259


More information about the Digitalmars-d-announce mailing list