gcc 4.8.1 made it to Debian Sid
Joseph Rushton Wakeling
joseph.wakeling at webdrake.net
Fri Jul 5 11:22:54 PDT 2013
On 07/05/2013 08:02 PM, H. S. Teoh wrote:
> Thanks so much for posting the exact steps! I finally got around to
> retrying to build GDC with GCC-4.8. Using your steps above, it worked!!!
Fantastic! So glad it finally worked for you.
> There was no trouble at all, except for an initial hiccup of having to
> install libmpc-dev (but the configure script was pretty good about
> stating exactly what is missing). The build went smoothly. To the above
> steps, I'd only add 'make install' as the final step. :)
Yes, I think there are one or two dependencies not mentioned on the GDC wiki
which I discovered when first trying to build it. There's certainly an
unmentioned package which is needed for the test suite.
One of these days I'll have to set up a fresh system and try a build on it just
to document what they are.
> I think the fact that gcc-4.8 supports multiarch without needing to
> setup the Debian sources (with the associated patching, etc.), made
> things MUCH simpler and less error-prone than before.
Yes, though once I discovered the trick of using gcc-snapshot (bad idea, but it
worked:-) I never had any problems patching the sources. It was just an
annoyance to have to do it.
>> With the above done, if I pull in any updates from GDC master, I can
>> rebuild as follows:
>>
>> cd $(GDCDIR)/dev
>> ./setup-gcc.sh --update ../gcc-4.8.1
>> cd ../objdir
>> make [ still use -j as many processors as you can :-) ]
>
> Thanks, this will come in handy when I need to update GDC.
Thank Iain, who told me about it :-) Before that, I'd actually been deleting
and re-unzipping the whole gcc-4.8.1 directory, meaning a complete rebuild every
time. Rebuilding GDC has recently become much quicker for me ... :-)
> Well, I have to thank you for posting these steps. I have given up
> building GDC for a long time until I tried it again today with your
> instructions. And it worked!
I know exactly the feeling, I also had a long period of thinking I'd never get
it working. I'm very happy these instructions were useful to you -- and I have
to in turn thank the various people who helped me back then :-)
More information about the D.gnu
mailing list