Building and Installing gcc-4.7.0 on Ubuntu 12.04

David Given dg@cowlark.com
Wed Jun 6 10:02:00 GMT 2012


Jonathan Wakely wrote:
> On 6 June 2012 06:48, Anup Ghatage wrote:
[...]
>> Untar'ed it.
>> ./configure
> 
> You didn't read the docs then, see  http://gcc.gnu.org/wiki/InstallingGCC

If you're referring to the need to set objdir, the documentation that
actually ships with gcc says:

> First, we highly recommend that GCC be built into a separate directory
> from the sources which does not reside within the source tree. This is
> how we generally build GCC; building where srcdir == objdir should still
> work, but doesn't get extensive testing; building where objdir is a
> subdirectory of srcdir is unsupported.

In others, it says firmly that srcdir == objdir should actually work.

Given that it doesn't, is there any chance of getting this document
changed? As it stands it's highly misleading.

-- 
┌─── dg@cowlark.com ───── http://www.cowlark.com ─────
│ "Parents let children ride bicycles on the street. But parents do not
│ allow children to hear vulgar words. Therefore we can deduce that
│ cursing is more dangerous than being hit by a car." --- Scott Adams

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <https://gcc.gnu.org/pipermail/gcc-help/attachments/20120606/f388dc88/attachment.sig>


More information about the Gcc-help mailing list