Need help building GDC on 64-bit Debian

Iain Buclaw ibuclaw at ubuntu.com
Sun Oct 21 06:14:16 PDT 2012


On 20 October 2012 18:14, H. S. Teoh <hsteoh at quickfur.ath.cx> wrote:
> Huh, weird, I tried compiling again this morning and somehow it works
> now!! I think it may have to do with the configure options: I tried a
> different configuration this time:
>
>         /usr/src/gcc-4.7/gcc-4.7-4.7.2/src/configure \
>         --enable-languages=d --disable-bootstrap \
>         --prefix=/usr/src/d/gdcroot/ --enable-checking=yes \
>         --disable-nls --disable-libgomp --disable-libmudflap \
>         --disable-ld --disable-gold --disable-multilib \
>         --disable-libquadmath
>
> Anyway, now I have a different problem: how do I find out what are gdc's
> default search paths for imports? I installed it in a non-default
> directory and now obviously it can't find druntime/phobos, etc.. But I
> don't know where to put the files so that gdc can find them.
>
> Also, I seem to remember reading somewhere that libphobos needs to be
> specially built for gdc? Where can I find instructions on how to build
> it?
>
> Thanks in advance for the help!

If you compiled gdc - it should have also include libphobos in the
build... unless you did something strange and omitted it. :)

-- 
Iain Buclaw

*(p < e ? p++ : p) = (c & 0x0f) + '0';


More information about the D.gnu mailing list