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: GCC build issues - compilation failure


On 30 December 2010 13:27, Kai Ruottu wrote:
> 30.12.2010 14:25, Jonathan Wakely kirjoitti:
>
>> Please read the installation instructions, particularly
>> http://gcc.gnu.org/install/configure.html
>>
>> "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."
>>
>> I showed you a working sequence of commands, and it involved running
>> ../gcc-4.5.2/configure NOT ../configure
>>
>> I haven't looked in detail but this is most likely the cause of your
>> compilation failure, so please correct it and try again.
>
> I myself have always used a "build" subdir in the main src directory,
> for instance 'gcc-4.5.2/build', 'binutils-2.20.51/build' etc. NEVER
> any problems with this choice after 100's of tool builds! Neither
> some of the big guys seem to care about this "recommendation", my
> CentOS 5.5 GCC tells :

Fair enough, but you're not asking for support and neither are the
Fedora and CentOS package maintainers. If the official docs say
something is not supported (N.B. it's not a recommendation, it says
unsupported) then don't do it and then ask for support. Doing so
indicates a failure to read the docs, so a reasonable response is
RTFM.


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