From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25813 invoked by alias); 10 Jan 2012 19:25:34 -0000 Received: (qmail 25797 invoked by uid 22791); 10 Jan 2012 19:25:32 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from fencepost.gnu.org (HELO fencepost.gnu.org) (140.186.70.10) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 10 Jan 2012 19:25:12 +0000 Received: from ams by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1RkhJn-0008LM-LJ; Tue, 10 Jan 2012 14:25:11 -0500 Date: Tue, 10 Jan 2012 19:31:00 -0000 Message-Id: From: ams@gnu.org (Alfred M. Szmidt) To: Eli Zaretskii CC: gdb-patches@sourceware.org In-reply-to: <83hb03e9sx.fsf@gnu.org> (message from Eli Zaretskii on Tue, 10 Jan 2012 19:39:42 +0200) Subject: Re: Building GDB 7.3.92 with MinGW Reply-to: ams@gnu.org References: <83hb03e9sx.fsf@gnu.org> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2012-01/txt/msg00304.txt.bz2 2. "make install-strip" fails in readline/, in sim/, and in gdb/: make[2]: Entering directory `/d/usr/eli/utils/gdb-7.3.92/readline' make[2]: *** No rule to make target `install-strip'. Stop. make[2]: Leaving directory `/d/usr/eli/utils/gdb-7.3.92/readline' make[1]: *** [install-strip-readline] Error 2 make[2]: Entering directory `/d/usr/eli/utils/gdb-7.3.92/sim' make[2]: *** No rule to make target `install-strip'. make[2]: Leaving directory `/d/usr/eli/utils/gdb-7.3.92/sim' make[1]: *** [install-strip-sim] Error 2 make[2]: Entering directory `/d/usr/eli/utils/gdb-7.3.92/gdb' make[2]: *** No rule to make target `install-strip'. make[2]: Leaving directory `/d/usr/eli/utils/gdb-7.3.92/gdb' make[1]: *** [install-strip-gdb] Error 2 make[1]: Target `install-strip-host' not remade because of errors. make[1]: Nothing to be done for `install-strip-target'. make[1]: Leaving directory `/d/usr/eli/utils/gdb-7.3.92' make: *** [install-strip] Error 2 The reason is that these directories simply don't have the "install-strip" target in their Makefile.in files. I think that target should be added, because that's AFAIK how GDB is supposed to be installed on end-user systems. `make install' is generally the way one should install GNU projects on a end-user system, since that makes it possible to debug things (hence why CFLAGS contains -g by default); install-strip is really for people with little disk space. Finally, a question: Why are we installing libraries (libbfd, libopcodes, libiberty) and the standards.info manual? The libraries are not part of GDB, we import them from elsewhere. "make install" will happily overwrite existing installation of these libraries that could potentially be newer, coming from their respective upstream distributions. How about removing these from "make install"? I personally never understood why they get installed by binutils, or gdb.