On Fri, January 22, 2016 18:54, Bruce Dubbs wrote:
> I'm thinking about changing the way we build packages in separate
> directories.  What we do now for tool chain packages is:
>
> mkdir -v ../binutils-build
> cd ../binutils-build
>
> ../binutils-2.25.1/configure  ...
>
>
> I'm thinking about changing that to:
>
> mkdir -v build
> cd       build
>
> ../configure ...
>

Hello Bruce,

In the past, people who have included gcc-build within gcc-<x.y.z> ended
up having errors in the build process from building within the gcc source
tree. Since you tested that with ch5, then ch6 should be okay. I suppose
it depends on the gcc version. The problem occured many years ago.

We have stuck with this for the longest time:

https://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."

Sincerely,

William Harrington
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to