This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Building and Installing gcc-4.7.0 on Ubuntu 12.04


On 6 June 2012 11:02, David Given wrote:
> 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.

Which others?

It might work, but if you don't know what you're doing or get a
failure using ./configure then following the recommended approach
seems like a good idea.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]