GDC guys, can this toolchain support D?

Manu via Digitalmars-d digitalmars-d at puremagic.com
Tue Jan 10 17:49:18 PST 2017


On 11 January 2017 at 05:44, Johannes Pfau via Digitalmars-d <
digitalmars-d at puremagic.com> wrote:

> Am Tue, 10 Jan 2017 18:22:42 +1000
> schrieb Manu via Digitalmars-d <digitalmars-d at puremagic.com>:
>
> > 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 ;)
> >
>
> Looks like a trivial problem: The toolchain uses GCC 6.2.0 so there
> should be no problem at all to add D support:
>
> build-gcc-final.sh:
> -       --prefix=$INSTALLDIR --enable-languages=c,c++ \
> +       --prefix=$INSTALLDIR --enable-languages=c,c++,d
>         --disable-libphobos \
>
> extract-source.sh:
>      rm -rf gcc-${GCCVER}
>      exit 1
>  fi
> + git clone https://github.com/D-Programming-GDC/GDC.git
> + pushd GDC
> + git checkout gdc-6
> + ./setup-gcc.sh ../gcc-${GCCVER}
> + popd
>

That's easy! I'll give it a shot...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20170111/28f78bfa/attachment.html>


More information about the Digitalmars-d mailing list