From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14551 invoked by alias); 1 Nov 2014 01:47:26 -0000 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 Received: (qmail 14539 invoked by uid 89); 1 Nov 2014 01:47:25 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=1.9 required=5.0 tests=AWL,BAYES_00,BODY_8BITS,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,GARBLED_BODY,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 X-HELO: mail-yk0-f181.google.com Received: from mail-yk0-f181.google.com (HELO mail-yk0-f181.google.com) (209.85.160.181) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Sat, 01 Nov 2014 01:47:24 +0000 Received: by mail-yk0-f181.google.com with SMTP id 19so3786746ykq.12 for ; Fri, 31 Oct 2014 18:47:22 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.170.215.132 with SMTP id h126mr18881026ykf.98.1414806441989; Fri, 31 Oct 2014 18:47:21 -0700 (PDT) Received: by 10.170.140.214 with HTTP; Fri, 31 Oct 2014 18:47:21 -0700 (PDT) In-Reply-To: References: Date: Sat, 01 Nov 2014 01:47:00 -0000 Message-ID: Subject: Re: How can I uninstall gdb? From: Doug Evans To: Nan Xiao Cc: gdb Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2014-11/txt/msg00000.txt.bz2 bash$ cd $build/gdb bash$ make uninstall That will uninstall gdb (modulo bug 17180). What it won't do is uninstall the other pieces that get installed. The issue is implementing the top level uninstall rule to cd into each subdir and recursively invoke make install. I filed a bug on this issue: https://sourceware.org/bugzilla/show_bug.cgi?id=3D17530 For reference sake, there is also: https://sourceware.org/bugzilla/show_bug.cgi?id=3D17180 On Fri, Oct 31, 2014 at 6:35 PM, Nan Xiao wrote: > So does gdb have plan to support "make uninstall" feature? > > Best Regards > Nan Xiao > ------------------ =E5=8E=9F=E5=A7=8B=E9=82=AE=E4=BB=B6 ------------------ > =E5=8F=91=E4=BB=B6=E4=BA=BA: "Doug Evans";; > =E5=8F=91=E9=80=81=E6=97=B6=E9=97=B4: 2014=E5=B9=B410=E6=9C=8831=E6=97=A5= (=E6=98=9F=E6=9C=9F=E4=BA=94) =E6=99=9A=E4=B8=8A9:52 > =E6=94=B6=E4=BB=B6=E4=BA=BA: "Nan Xiao"; > =E6=8A=84=E9=80=81: "gdb"; > =E4=B8=BB=E9=A2=98: Re: How can I uninstall gdb? > > On Thu, Oct 30, 2014 at 11:24 PM, Nan Xiao wrote: >> Hi all, >> >> I have installed the newest gdb 7.8.1 on Solaris. But When I wan= t to uninstall it, the output is: >> >> bash-3.2# make uninstall >> the uninstall target is not supported in this tree >> >> So how can I uninstall gdb? Thanks very much in advance! > > Yikes. > > A clumsy workaround is to cd into each subdir in the build tree and do > make uninstall there.