gcc 4.6.0
Axel Freyn
axel-freyn@gmx.de
Sat Jun 4 17:49:00 GMT 2011
On Sat, Jun 04, 2011 at 01:43:56PM -0400, Bill Cunningham wrote:
> The compilation I just did of gcc 4.6.0 seems to have worked. I did
> two things differently. I used a build directory outside of the source
> directory. And secondly I compiled with c++ support. I used the
> --enable-languages=c,c++ switch also.
>
> I would rather have compiled without the c++ support. I don't use c++
> much and it took a very long time to compile. Does anyone know which two
> of these things may have really made the difference?
Hi Bill,
as documented on http://gcc.gnu.org/install/configure.html it's a bad
idea to use a build directory inside the source tree:
"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. "
So probably that made the difference...
Axel
More information about the Gcc-help
mailing list