Merging the jh branch to trunk
Robert Connolly
robert at linuxfromscratch.org
Thu Sep 6 04:43:16 MDT 2007
On Friday August 31 2007 05:54:50 pm Bruce Dubbs wrote:
> The WITHARCH variable seems to be a configure option, but I can't find
> it in ./configure --help or with a grep of configure.
It's in ./gcc/configure --help. GCC's (and Binutils) subdirectories can have
different options than the top level configure.
GCC's top level makefile system is special (Binutils makefile system is a copy
of GCC's, libiberty too). Invalid, even misspelled, options are ignored and
passed down to subdirectories. This makefile system allows all prerequisites
needed to build and test GCC, including Binutils, Findutils, Gawk, Coreutils,
Flex, Bison, Expect, DejaGNU, etc etc, and even bzip2, to be built under the
same tree (freebsd style), and in the correct order (host-tools, build-tools,
target-tools). It's very complex. HLFS's toolchain touches on it by
integrating GCC and Binutils compilation in the same step. I feel that GCC is
slowly leaning towards these types of toolchains... building most of the
system at the same time. But this is all a different topic.
robert
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://linuxfromscratch.org/pipermail/lfs-dev/attachments/20070906/5ce489ab/attachment.bin
More information about the lfs-dev
mailing list