Building on Ubuntu -- what GCC sources to use?

H. S. Teoh hsteoh at quickfur.ath.cx
Fri May 31 07:30:42 PDT 2013


On Fri, May 31, 2013 at 01:05:18PM +0200, Joseph Rushton Wakeling wrote:
> Hi all,
> 
> So far when building from source on Ubuntu I've always used the
> gcc-snapshot sources.  This is a Bad Habit (it's specifically
> disallowed by Debian for building actual packages), but was an
> effective workaround in the period before GCC 4.8 was released.
> 
> Anyway, now that 4.8 _has_ been released, the question is -- where to
> get the appropriate sources?  Ubuntu only has GCC 4.7.3 and earlier in
> its repositories, gcc-snapshot is now frozen (and probably is best to
> avoid if possible anyway).
> 
> It seems best to download sources from the Debian repos as they should
> be patched to work with Debian/Ubuntu, but I thought I'd ask in case
> anyone has any advice.
[...]

I thought the usual method is: apt-get source <package>

Or is that not working for you for some reason?


T

-- 
First Rule of History: History doesn't repeat itself -- historians merely repeat each other.


More information about the D.gnu mailing list