On 2016-01-23 00:38, William Harrington wrote:
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 ...
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."


An additional reason for settling on ../binutils-build was that the source tree can be reused since gcc, binutils and glibc are built multiple times (ch 5 and 6).

--
http://www.linkedin.com/in/tusharteredesai

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

Reply via email to