On 10 January 2017 at 09:22, Manu via Digitalmars-d
<digitalmars-d@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...

Reply via email to