public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Unclear documentation on building GCC together with binutils
@ 2006-11-29  6:10 Ulf Magnusson
  2006-11-29  7:52 ` Tim Prince
  2006-11-29  8:34 ` Brian Dessent
  0 siblings, 2 replies; 9+ messages in thread
From: Ulf Magnusson @ 2006-11-29  6:10 UTC (permalink / raw)
  To: gcc-help

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2006-11-30 16:20 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-11-29  6:10 Unclear documentation on building GCC together with binutils Ulf Magnusson
2006-11-29  7:52 ` Tim Prince
2006-11-29  8:34 ` Brian Dessent
2006-11-29 22:23   ` Ulf Magnusson
2006-11-29 23:14     ` Ian Lance Taylor
2006-11-30 10:37     ` Kai Ruottu
2006-11-30 16:20       ` Available Linux C libraries for scepticals Kai Ruottu
2006-11-29 23:08   ` Unclear documentation on building GCC together with binutils Ulf Magnusson
2006-11-30  1:25     ` Brian Dessent

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).