gdc for rv32&64

max haughton maxhaton at gmail.com
Sun Aug 15 20:11:23 UTC 2021


On Sunday, 15 August 2021 at 19:42:11 UTC, Mahdi wrote:
> On Sunday, 15 August 2021 at 17:22:28 UTC, max haughton wrote:
>> On Sunday, 15 August 2021 at 15:03:26 UTC, Mahdi wrote:
>>> Hi Iain Buclaw, we appreciate your efforts in the d for the 
>>> gnu ecosystem.
>>> but what is the status of gdc for risc-v architecture, 
>>> especially newlib?
>>
>> explore.dgnu.org
>>
>> Have a play with that, RISC-V should work perfectly fine for 
>> low level things like MCUs. Now, as for druntime and Phobos 
>> I'm not sure, you'll probably have to look at the source code.
>
> Thanks Max, I played with explore.dgnu.org and it doesn't seem 
> to have a problem with risc-v64&32-linux-gnu, but unfortunately 
> it still doesn't support riscv64-elf target.
> This target (elf) is much more suitable for writing metal-bare 
> or operation system goals.

By elf target you mean that it doesn't assume the existence of 
Linux APIs? What's the difference? It will be outputting an elf 
binary


More information about the D.gnu mailing list