This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: configure.{in -> ac} rename (commit 35eafcc71b) broke in-tree binutils building of gcc
- From: Jim Wilson <jim dot wilson at linaro dot org>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: Jan Beulich <JBeulich at suse dot com>, GCC Development <gcc at gcc dot gnu dot org>, Alan Modra <amodra at gmail dot com>, Binutils <binutils at sourceware dot org>
- Date: Tue, 14 Jul 2015 10:30:12 -0700
- Subject: Re: configure.{in -> ac} rename (commit 35eafcc71b) broke in-tree binutils building of gcc
- Authentication-results: sourceware.org; auth=none
- References: <55A4EEC202000078000907FE at mail dot emea dot novell dot com> <55A540F9 dot 6020406 at linaro dot org> <CAMe9rOqiKW4=aDOvugyiMpRXOqG08vahYdkza=r2bttzJ0psvA at mail dot gmail dot com>
On Tue, Jul 14, 2015 at 10:08 AM, H.J. Lu <hjl.tools@gmail.com> wrote:
> Combined tree is useful when the latest binutils is needed by GCC.
If you build and install binutils using the same --prefix as used for
gcc, then gcc will automatically find that binutils and use it. You
don't need combined trees to make this work.
If you do still like combined trees, then I'd suggest putting binutils
and gcc into the same dir, instead of placing binutils into gcc, and
then add a simple Makefile that will configure, build and install
binutils and then likewise for gcc.
Jim