Need help building GDC on 64-bit Debian

H. S. Teoh hsteoh at
Mon Oct 22 10:11:42 PDT 2012

On Mon, Oct 22, 2012 at 09:29:01AM -0700, H. S. Teoh wrote:
> 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. :)

Update: build is now successful!! The problem was indeed the failure to
apply the patches in gcc/d/patches/. I submitted a pull request to fix to apply the 4.7.x patches (since this is the 4.7.x branch
I think it's OK to hard-code the 4.7.x patches):

Thanks for all the help!


Ph.D. = Permanent head Damage

More information about the D.gnu mailing list