GDC guys, can this toolchain support D?

Iain Buclaw via Digitalmars-d digitalmars-d at puremagic.com
Tue Jan 10 01:04:17 PST 2017


On 10 January 2017 at 09:22, Manu via Digitalmars-d
<digitalmars-d at puremagic.com> wrote:
> Can any of the GDC guys comment on how difficult it would be to get this
> toolchain build script to include building GDC?
>
> https://github.com/SaturnSDK/Saturn-SDK-GCC-SH2
>
> I have a mate who's hacking on the Saturn and wants to build one of my
> projects.
> It'd be a really great test for embedded D; fairly small realtime target. I
> expect binary size to be a problem ;)

Debian already has builds for SH4, there's just no druntime support.

https://goo.gl/dznZIF

But getting druntime working on it should be trivial enough.

- Fix core.stdc.* to handle the arch-specific bits for SH (just copy
from C headers).
- There's threadasm.S if you want to implement native fiber support,
otherwise you can fall back to ucontext_t.

Does double == float on this platform?  That might be interesting...


More information about the Digitalmars-d mailing list