LDC with MSP430

Johan Engelen via digitalmars-d-ldc digitalmars-d-ldc at puremagic.com
Tue Jun 20 09:59:03 PDT 2017


On Tuesday, 20 June 2017 at 16:31:28 UTC, Luís Marques wrote:
> On Tuesday, 20 June 2017 at 01:51:14 UTC, Luís Marques wrote:
>> In the past I used LDC for bare metal programming of a RISC-V, 
>> simply by tweaking the white list of accepted architectures. I 
>> tried to do the same for the MSP430, but in this case it seems 
>> some other things will have to be tweaked. This might be 
>> something easy for someone more familiar with the LDC/LLVM 
>> codebase, so could anyone give a helping hand here?
>
> BTW, is there a flag to avoid trying to build Phobos and 
> druntime, since those fail with an unsupported target?

Not the answer you are looking for ("PRs welcome" ;-), but:
does `make ldc2` do the trick?

;)
  Johan



More information about the digitalmars-d-ldc mailing list