This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: pre-build advice
- To: law at cygnus dot com
- Subject: Re: pre-build advice
- From: David Edelsohn <dje at watson dot ibm dot com>
- Date: Sun, 10 May 1998 14:10:14 -0400
- Cc: Gerald Pfeifer <pfeifer at dbai dot tuwien dot ac dot at>, egcs at cygnus dot com, Jim Wilson <wilson at cygnus dot com>
>>>>> Jeffrey A Law writes:
Jeff> You can also set up a "single tree" build environment which can
Jeff> be used to build egcs, gdb, binutils and other tools from a
Jeff> single source tree with a single "make" command. This kind of
Jeff> setup is easier for folks building cross compilers.
While it is possible to combine egcs, binutils, newlib, gdb,
etc. into a single tree. Including gdb seems to be discouraged because
both it and binutils rely upon bfd in subtle ways. One can run into
problems because of source skew between binutils and gdb as only one
package can be the source for the bfd library. binutils is more integral
in the toolchain, so it usually is better to include binutils in the
"single tree" and build gdb separately.
Cygnus does not have this problem because they can access their
development tree in which bfd is not forked for a particular package.
David