September 10, 2014
On 10 September 2014 21:58, Iain Buclaw <ibuclaw@gdcproject.org> wrote:
> On 9 September 2014 19:40, ketmar via D.gnu <d.gnu@puremagic.com> wrote:
>> On Mon, 8 Sep 2014 08:13:46 +0100
>> "Iain Buclaw via D.gnu" <d.gnu@puremagic.com> wrote:
>>
>> ok, i started. moved toDebug() and most of toDt() to visitor. yet
>> Expression::toElem() scares me alot (wow, it's 300kb!). but i hope to
>> finish it in week or two (i have some free time now and can spend it on
>> porting).
>>
>> i'm keeping patches somewhat separated (but it's hard to separate 'em properly). no tests done for now, it merely compiles without errors.
>>
>> posting this just to let people know that i'm working on it, so they can avoid double-work.
>
> Thanks.
>
> I also intend to use the conversions as an excuse to reform the code into a more C++ coding style convention[1].  You can look at toir.cc to get a general feel of this[2].
>

You'll notice that most functions in toir.cc have an empty comment
above the function ('//') - this is because eventually it will be all
documented (good), if not documented during the conversion (better).
September 16, 2014
On Friday, 5 September 2014 at 15:49:22 UTC, Nordlöw wrote:
> Have anyone put together a build script for downloading/git-cloning and building a particular branch, say gdc-4.9, of GDC?

Just throwing mine into the game:
Attention: it really cleans up the git repositories (cloned from github) and you will LOOSE all other files that accidentally you might have placed in those gcc-git and gdc-git folders.

#!/bin/bash

CRTDIR=`pwd`

cd ${GDC_GCCSRC}
git clean -fxd
git checkout .
git switch gcc-4_9-branch
git pull

cd ${GDC_GDCSRC}
git clean -fxd
git checkout .
git switch gdc-4.9
git pull

cd ${GDC_GDCSRC}
./setup-gcc.sh ${GDC_GCCSRC}
mkdir -p ${GDC_OBJDIR}
cd ${GDC_OBJDIR}
rm -rf ./*
${GDC_GCCSRC}/configure --enable-languages=d --disable-bootstrap --enable-checking=release --prefix=/opt/gdc-4.9
make -j8
sudo make install
cd ${CRTDIR}
1 2
Next ›   Last »