Unclear documentation on building GCC together with binutils

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The following paragraph in the GCC installation guide
(http://gcc.gnu.org/install/) seems a bit unclear to me:

"If you also intend to build binutils (either to upgrade an existing
installation or for use in place of the corresponding tools of your
OS), unpack the binutils distribution either in the same directory or
a separate one. In the latter case, add symbolic links to any
components of the binutils you intend to build alongside the compiler
(bfd, binutils, gas, gprof, ld, opcodes, ...) to the directory
containing the GCC sources."

What exactly is meant by "the same directory"? Say the GCC tarball is
unpacked in the directory foo, yielding foo/gcc-3.x.x. Should binutils
be unpacked in the same directory, so that you get

foo/gcc-3.x.x
foo/binutils-x.x

, or in the gcc-3.x.x directory, so that you get

foo/gcc-3.x.x/binutils-x.x

, or into the gcc-3.x.x directory with one directory level stripped
(e.g. with --strip-components 1 passed to tar), essentially "merging"
the two packages in foo/gcc-3.x.x? Whatever turns out to be The Right
Way, the doc really needs to be updated for clarity.

Why would you want to build gcc and binutils together in this way by
the way? Isn't it possible to install them separately?

/Ulf Magnusson

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux