LDC with MSP430
David Nadlinger via digitalmars-d-ldc
digitalmars-d-ldc at puremagic.com
Tue Jun 20 08:19:07 PDT 2017
On 20 Jun 2017, at 16:08, Luís Marques via digitalmars-d-ldc wrote:
> According to msp430-gcc, #define __SIZEOF_SIZE_T__ 2, so it's the LLVM
> side that's wrong.
> Do you know where to change this?
DtoSize_t() in gen/tollvm.cpp.
However, note that there are currently no supported 16 bit targets (and
indeed, only 32 bit and up is supported as per the D spec, although that
doesn't mean it can't be usefully targeted in an embedded context), so
there is a chance there are related bugs in other places.
More information about the digitalmars-d-ldc