Building on Ubuntu -- what GCC sources to use?

jerro a at a.com
Fri May 31 16:41:39 PDT 2013


On Friday, 31 May 2013 at 15:22:33 UTC, Joseph Rushton Wakeling 
wrote:
> On 05/31/2013 04:30 PM, H. S. Teoh wrote:
>> I thought the usual method is: apt-get source <package>
>> 
>> Or is that not working for you for some reason?
>
> The required sources (gcc 4.8) aren't available in the Ubuntu 
> repositories, and
> obviously neither will 4.9 be when that becomes necessary.
>
> Did you ever manage to get a successful GDC build on 
> Ubuntu/Debian?  Would be
> interested to hear if my description here is useful to you.

GDC 4.8 builds without problems on Debian Wheezy. For 4.7, you 
need something like

export LIBRARY_PATH=/usr/lib/x86_64-linux-gnu:$LIBRARY_PATH
export CPATH=/usr/include/x86_64-linux-gnu:$CPATH


More information about the D.gnu mailing list