Need help building GDC on 64-bit Debian

H. S. Teoh hsteoh at
Mon Oct 22 09:29:01 PDT 2012

On Mon, Oct 22, 2012 at 07:48:52AM +0200, Timo Sintonen wrote:
> On Sunday, 21 October 2012 at 13:14:25 UTC, Iain Buclaw wrote:
> >If you compiled gdc - it should have also include libphobos in the
> >build... unless you did something strange and omitted it. :)
> The old update script did it wrong sometimes. When the sources were
> parallel, like /usr/local/src/gcc and /ust/local/src/gdc , the
> script pacthed gcc to make gdc, but failed with the patches to
> makefiles for the library. So gdc was built  but the library did not
> compile at all. This error was very hard to notice. The new script
> that came a week ago works, the only thig was that it did not have
> the executable bit set by default.

Hmm. This is probably my problem, as I'm using gcc-4.7.2, so I'm on the
gdc-4.7 branch. I did notice that 'libphobos' doesn't appear anywhere in
the Makefile generated by configure, or anywhere in the build log. :)
How do I fix this?

I just tried building with gdc master, but it dies horribly in idgen.c
with screens of compile errors (I think caused by missing struct
definition somewhere, but why this happened I've no idea. Now I'm trying
again with the 4.7 branch).


Windows: the ultimate triumph of marketing over technology. -- Adrian von Bidder

More information about the D.gnu mailing list