From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20771 invoked by alias); 29 Nov 2002 21:51:35 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 20722 invoked from network); 29 Nov 2002 21:51:34 -0000 Received: from unknown (HELO mailout5-0.nyroc.rr.com) (24.92.226.122) by sources.redhat.com with SMTP; 29 Nov 2002 21:51:34 -0000 Received: from doctormoo (syr-24-24-16-193.twcny.rr.com [24.24.16.193]) by mailout5-0.nyroc.rr.com (8.11.6/RoadRunner 1.20) with ESMTP id gATLpVF27744 for ; Fri, 29 Nov 2002 16:51:31 -0500 (EST) Received: from neroden by doctormoo with local (Exim 3.36 #1 (Debian)) id 18Ht2F-00008V-00 for ; Fri, 29 Nov 2002 16:50:55 -0500 Date: Fri, 29 Nov 2002 13:51:00 -0000 To: gdb-patches@sources.redhat.com Subject: Re: (toplevel) introduce host subdir configuration in Makefile Message-ID: <20021129215054.GA524@doctormoo> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i From: Nathanael Nerode X-SW-Source: 2002-11/txt/msg00750.txt.bz2 >>At the moment it appears that 'gcc','zlib','fastjar', and 'libiberty' >>can >>be configured in any order relative to each other (nice and >>straightforward). >>If anyone knows of specific configure order dependencies, they should >>tell >>me. I'll be spending a while fiddling with gcc and src trying to >identify >any other real configure order dependencies. > Nathanael, > > Some heads up. > > GDB requires an ISO C compiler and on some systems that involves >running the compiler with specific flags (-Ae, I think, on HP/UX?). The >problem is that GDB can't test/configure this directly. By time time it >has a say in the matter, it is too late. The top level will need to do >this very early on. This *shouldn't*, hopefully, be affected, because this doesn't require that any other *subdirectories* be built. The top level still determines the value of CC, CFLAGS, and so on and so forth, and passes them down to subconfigures and submakes. > While GDB has a depencency on the SIM directory, it resolves it by >testing for ${srcdir)/../sim so that should be ok. Whee. I put a dependency in for that anyway because of the comment (in my follow-up patch). > While INSIGHT has a dependency on tcl/tk, it appears to resolve it >doing some pretty agressive hunting. It looks in both ${srcdir} and >`pwd`. Extensive testing indicated that several subdirs with tcl/tk dependencies *did* require that in-source tcl/tk be configured; otherwise they used installed tcl/tk (or just failed). I dealt with this in a subsequent patch (but I'm going to commit these patches as a whole, probably, once I eventually get to them, since the follow-ups are effectively tweaks to the original). > Andrew Thanks for all the help. This particular bit is likely to be the most destabilizing of my changes; most of the stuff prior to it was carefully designed to be "behavior-change-free". --Nathanael