From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26718 invoked by alias); 28 Mar 2012 13:02:06 -0000 Received: (qmail 26692 invoked by uid 22791); 28 Mar 2012 13:02:02 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from mail-bk0-f41.google.com (HELO mail-bk0-f41.google.com) (209.85.214.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 28 Mar 2012 13:01:48 +0000 Received: by bkwq16 with SMTP id q16so1071768bkw.0 for ; Wed, 28 Mar 2012 06:01:47 -0700 (PDT) Received: by 10.205.130.1 with SMTP id hk1mr12166482bkc.51.1332939706889; Wed, 28 Mar 2012 06:01:46 -0700 (PDT) Received: from [87.2.95.126] (host126-95-dynamic.2-87-r.retail.telecomitalia.it. [87.2.95.126]) by mx.google.com with ESMTPS id z14sm3533620bky.15.2012.03.28.06.01.44 (version=SSLv3 cipher=OTHER); Wed, 28 Mar 2012 06:01:45 -0700 (PDT) Message-ID: <4F730BB6.9030509@gmail.com> Date: Wed, 28 Mar 2012 13:02:00 -0000 From: Stefano Lattarini MIME-Version: 1.0 To: "Joseph S. Myers" CC: 11034@debbugs.gnu.org, binutils@sourceware.org, gdb@sourceware.org, gcc@gcc.gnu.org, Automake List Subject: Re: Binutils, GDB, GCC and Automake's 'cygnus' option References: <4F72E239.9010404@gmail.com> <4F7301DD.7090401@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2012-03/txt/msg00081.txt.bz2 On 03/28/2012 02:29 PM, Joseph S. Myers wrote: > On Wed, 28 Mar 2012, Stefano Lattarini wrote: > >> - texinfo.tex is not required if a Texinfo source file is specified. The >> assumption is that the file will be supplied, but in a place that >> Automake cannot find. This assumption is an artifact of how Cygnus >> packages are typically bundled. > > texinfo.tex is in a known location, but only a single copy for GDB and > binutils and a single copy for GCC rather than in each directory needing > it. > Which makes perfect sense. So Automake should support this use case. > Is the approach used (for example) in libquadmath/Makefile.am > > TEXINFO_TEX = ../gcc/doc/include/texinfo.tex > > considered a suitable approach for this case? > This would seem the most sensible approach, yes. Want to give it a try to see whether it works in the GCC/GDB/Binutils tree? (What should be verified particularly carefully is that the idiom works also in VPATH builds). >> - Certain tools will be searched for in the build tree as well as in the >> user's PATH. These tools are runtest, expect, makeinfo and texi2dvi. > > I did previously suggest removing the existing support for building and > using these tools in-tree > , but there was > pushback on that. I don't know, however, if it actually depends on > anything built into automake. > Hmm... Couldn't the issues (if any) be worked around by explicitly re-defining the $(EXPECT), $(RUNTEST), $(MAKEINFO) and $(TEXI2DVI) variables in the relevant Makefiles so that they point to the bundled tools? E.g., EXPECT = $(top_builddir)/../expect/expect and so on. >> - The check target doesn't depend on all. > > I'm not aware of a need for that. > Glad to hear that. Regards, Stefano