From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29726 invoked by alias); 2 Nov 2002 00:35:14 -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 29668 invoked from network); 2 Nov 2002 00:35:12 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 2 Nov 2002 00:35:12 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id gA20D0w02064; Fri, 1 Nov 2002 19:13:00 -0500 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id gA20ZBf03976; Fri, 1 Nov 2002 19:35:12 -0500 Received: from localhost.localdomain (vpn50-53.rdu.redhat.com [172.16.50.53]) by pobox.corp.redhat.com (8.11.6/8.11.6) with ESMTP id gA20ZBT29740; Fri, 1 Nov 2002 19:35:11 -0500 Received: (from kev@localhost) by localhost.localdomain (8.11.6/8.11.6) id gA20Z5l16669; Fri, 1 Nov 2002 17:35:05 -0700 Date: Fri, 01 Nov 2002 16:35:00 -0000 From: Kevin Buettner Message-Id: <1021102003505.ZM16668@localhost.localdomain> To: gdb-patches@sources.redhat.com, binutils@sources.redhat.com, gcc-patches@gcc.gnu.org Subject: [RFA] Top level configury additions for RDA (3rd try) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2002-11/txt/msg00008.txt.bz2 My previous attempts at modifying the top level configury for RDA consisted of adding RDA as a host module. Daniel Jacobowitz pointed out (privately) that it would make a lot more sense for RDA to be a target program. E.g, if you're building a Solaris hosted tool chain for a i386-linux target, you really want to build RDA for the Linux target instead of the Solaris host. I agree with Daniel, so here's my third (and hopefully final) try at a patch to adjust the top level configury for RDA. I should note that one of the problems I had when I tested this patch was that the build would fail due to an automake problem in the rda directory. It turns out that this problem is fixed by regenerating rda's Makefiles with a newer version of automake (1.6.3). If this patch is approved, I'll commit an updated configury for rda. Okay to commit? * Makefile.def (host_modules): Add rda. * Makefile.in: Regenerate. * configure.in (target_tool): Add target-rda to list. Index: Makefile.def =================================================================== RCS file: /cvs/src/src/Makefile.def,v retrieving revision 1.3 diff -u -p -r1.3 Makefile.def --- Makefile.def 2 Oct 2002 06:29:04 -0000 1.3 +++ Makefile.def 2 Nov 2002 00:13:43 -0000 @@ -77,3 +77,4 @@ target_modules = { module= libjava; }; target_modules = { module= zlib; }; target_modules = { module= boehm-gc; }; target_modules = { module= qthreads; }; +target_modules = { module= rda; }; Index: Makefile.in =================================================================== RCS file: /cvs/src/src/Makefile.in,v retrieving revision 1.76 diff -u -p -r1.76 Makefile.in --- Makefile.in 3 Oct 2002 19:08:53 -0000 1.76 +++ Makefile.in 2 Nov 2002 00:13:43 -0000 @@ -760,7 +760,8 @@ ALL_TARGET_MODULES = \ all-target-libjava \ all-target-zlib \ all-target-boehm-gc \ - all-target-qthreads + all-target-qthreads \ + all-target-rda # This is a list of the configure targets for all of the modules which # are compiled using the target tools. @@ -779,7 +780,8 @@ CONFIGURE_TARGET_MODULES = \ configure-target-libjava \ configure-target-zlib \ configure-target-boehm-gc \ - configure-target-qthreads + configure-target-qthreads \ + configure-target-rda # This is a list of the check targets for all of the modules which are # compiled using $(TARGET_FLAGS_TO_PASS). @@ -795,7 +797,8 @@ CHECK_TARGET_MODULES = \ check-target-libjava \ check-target-zlib \ check-target-boehm-gc \ - check-target-qthreads + check-target-qthreads \ + check-target-rda # This is a list of the install targets for all of the modules which are # compiled using $(TARGET_FLAGS_TO_PASS). @@ -812,7 +815,8 @@ INSTALL_TARGET_MODULES = \ install-target-libjava \ install-target-zlib \ install-target-boehm-gc \ - install-target-qthreads + install-target-qthreads \ + install-target-rda # This is a list of the targets for which we can do a clean-{target}. CLEAN_MODULES = \ @@ -892,7 +896,8 @@ CLEAN_TARGET_MODULES = \ clean-target-libjava \ clean-target-zlib \ clean-target-boehm-gc \ - clean-target-qthreads + clean-target-qthreads \ + clean-target-rda # All of the x11 modules that can be cleaned CLEAN_X11_MODULES = \ @@ -1762,6 +1767,7 @@ all-target-libjava: configure-target-lib all-target-zlib: configure-target-zlib all-target-boehm-gc: configure-target-boehm-gc all-target-qthreads: configure-target-qthreads +all-target-rda: configure-target-rda ### other supporting targets Index: configure.in =================================================================== RCS file: /cvs/src/src/configure.in,v retrieving revision 1.113 diff -u -p -r1.113 configure.in --- configure.in 7 Oct 2002 16:40:56 -0000 1.113 +++ configure.in 2 Nov 2002 00:13:44 -0000 @@ -76,7 +76,7 @@ target_libs="target-libiberty \ # list belongs in this list. those programs are also very likely # candidates for the "native_only" list which follows # -target_tools="target-examples target-groff target-gperf" +target_tools="target-examples target-groff target-gperf target-rda" ################################################################################