LDC with MSP430

Luís Marques via digitalmars-d-ldc digitalmars-d-ldc at puremagic.com
Tue Jun 20 08:29:35 PDT 2017


On Tuesday, 20 June 2017 at 15:19:07 UTC, David Nadlinger wrote:
> 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.

Don't worry, I'll bug you guys ;-)

BTW, what part of the D spec that isn't x86 specific clashes with 
16 bit? Over the years I've seen people saying that D can't be 
used for <32 bits, but I don't remember seeing anything in the 
spec that was actually a problem. Now, if we were talking about 
weird type sizes (9-bit chars...) that would be different.

FYI: My first quick test compiled fine (to assembly; I don't 
think the target supports object file generation; I have to 
finish assembly and linking with the gnu tools, like I did for 
RISC-V).


More information about the digitalmars-d-ldc mailing list