This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: How can I uninstall gdb?
- From: Doug Evans <xdje42 at gmail dot com>
- To: Nan Xiao <xiaonan19830818 at qq dot com>
- Cc: gdb <gdb at sourceware dot org>
- Date: Fri, 31 Oct 2014 18:47:21 -0700
- Subject: Re: How can I uninstall gdb?
- Authentication-results: sourceware.org; auth=none
- References: <tencent_72EB01853AC8110405523950 at qq dot com> <CAP9bCMTG4v6csdLW=8GQLReF515KxCL_Hr8joVPg60oYzD+Uzw at mail dot gmail dot com> <tencent_5CC83ABB39F72D6D01B79CA2 at qq dot com>
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=17530
For reference sake, there is also:
https://sourceware.org/bugzilla/show_bug.cgi?id=17180
On Fri, Oct 31, 2014 at 6:35 PM, Nan Xiao <xiaonan19830818@qq.com> wrote:
> So does gdb have plan to support "make uninstall" feature?
>
> Best Regards
> Nan Xiao
> ------------------ ååéä ------------------
> åää: "Doug Evans";<xdje42@gmail.com>;
> åéæé: 2014å10æ31æ(ææä) æä9:52
> æää: "Nan Xiao"<xiaonan19830818@qq.com>;
> æé: "gdb"<gdb@sourceware.org>;
> äé: Re: How can I uninstall gdb?
>
> On Thu, Oct 30, 2014 at 11:24 PM, Nan Xiao <xiaonan19830818@qq.com> wrote:
>> Hi all,
>>
>> I have installed the newest gdb 7.8.1 on Solaris. But When I want 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.