<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 11 January 2017 at 05:44, Johannes Pfau via Digitalmars-d <span dir="ltr"><<a href="mailto:digitalmars-d@puremagic.com" target="_blank">digitalmars-d@puremagic.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Am Tue, 10 Jan 2017 18:22:42 +1000<br>
schrieb Manu via Digitalmars-d <<a href="mailto:digitalmars-d@puremagic.com">digitalmars-d@puremagic.com</a>>:<br>
<span class=""><br>
> Can any of the GDC guys comment on how difficult it would be to get<br>
> this toolchain build script to include building GDC?<br>
><br>
> <a href="https://github.com/SaturnSDK/Saturn-SDK-GCC-SH2" rel="noreferrer" target="_blank">https://github.com/SaturnSDK/<wbr>Saturn-SDK-GCC-SH2</a><br>
><br>
> I have a mate who's hacking on the Saturn and wants to build one of my<br>
> projects.<br>
> It'd be a really great test for embedded D; fairly small realtime<br>
> target. I expect binary size to be a problem ;)<br>
><br>
<br>
</span>Looks like a trivial problem: The toolchain uses GCC 6.2.0 so there<br>
should be no problem at all to add D support:<br>
<br>
build-gcc-final.sh:<br>
-       --prefix=$INSTALLDIR --enable-languages=c,c++ \<br>
+       --prefix=$INSTALLDIR --enable-languages=c,c++,d<br>
        --disable-libphobos \<br>
<br>
extract-source.sh:<br>
     rm -rf gcc-${GCCVER}<br>
     exit 1<br>
 fi<br>
+ git clone <a href="https://github.com/D-Programming-GDC/GDC.git" rel="noreferrer" target="_blank">https://github.com/D-<wbr>Programming-GDC/GDC.git</a><br>
+ pushd GDC<br>
+ git checkout gdc-6<br>
+ ./setup-gcc.sh ../gcc-${GCCVER}<br>
+ popd<br></blockquote><div><br></div><div>That's easy! I'll give it a shot...</div></div></div></div>