This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: pre-build advice


>>>>> 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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]