digitalmars.D - GDC guys, can this toolchain support D?
- Manu via Digitalmars-d (7/7) Jan 10 2017 Can any of the GDC guys comment on how difficult it would be to get this
- Johannes Pfau (18/28) Jan 10 2017 Looks like a trivial problem: The toolchain uses GCC 6.2.0 so there
- Manu via Digitalmars-d (3/30) Jan 10 2017 That's easy! I'll give it a shot...
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 ;)
Jan 10 2017
Am Tue, 10 Jan 2017 18:22:42 +1000 schrieb Manu via Digitalmars-d <digitalmars-d 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 -- Johannes
Jan 10 2017
On 11 January 2017 at 05:44, Johannes Pfau via Digitalmars-d < digitalmars-d puremagic.com> wrote:Am Tue, 10 Jan 2017 18:22:42 +1000 schrieb Manu via Digitalmars-d <digitalmars-d puremagic.com>:That's easy! I'll give it a shot...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
Jan 10 2017