This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How can I uninstall gdb?


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]