From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 59823 invoked by alias); 17 Feb 2020 18:46:12 -0000 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 Received: (qmail 59814 invoked by uid 89); 17 Feb 2020 18:46:11 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-8.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS autolearn=ham version=3.3.1 spammy= X-HELO: gateway20.websitewelcome.com Received: from gateway20.websitewelcome.com (HELO gateway20.websitewelcome.com) (192.185.69.18) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 17 Feb 2020 18:46:10 +0000 Received: from cm11.websitewelcome.com (cm11.websitewelcome.com [100.42.49.5]) by gateway20.websitewelcome.com (Postfix) with ESMTP id EC5D6400CD688 for ; Mon, 17 Feb 2020 11:32:15 -0600 (CST) Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with SMTP id 3lPEjNyDRSl8q3lPEj54Mr; Mon, 17 Feb 2020 12:46:08 -0600 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=4bVSh1LcUiYr0xuMlQDTszroa0bBbQNbiTShH6DbfKg=; b=b6BnoQzRTFxf8HgXV6w0BoOzz2 DSNGBcygZw4RTPwnRK2jE7wxtK0Gh4BxEHDzzu4pGiSCV93ymd2nyuQIlESNVeT51mhMnPEoCE2Su RUbdE8ry7iJ8mZf90EzIh1KKK; Received: from 75-166-123-50.hlrn.qwest.net ([75.166.123.50]:39104 helo=bapiya) by box5379.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1j3lPD-000bpX-Oq; Mon, 17 Feb 2020 11:46:07 -0700 From: Tom Tromey To: "Aktemur, Tankut Baris" Cc: Tom Tromey , Luis Machado , Sergio Durigan Junior , Tom de Vries , Pedro Alves , "gdb-patches@sourceware.org" Subject: Re: [PATCH] Move gdbserver to top level References: <87d0bf45up.fsf@tromey.com> <7ceebbb7-b2f7-3d4a-1d8a-f31310badbe8@redhat.com> <874kwk8nz9.fsf@tromey.com> <171a3144-af37-1c29-a2a4-c4cd7eaa14c0@redhat.com> <87r1zm6x8s.fsf@tromey.com> <01b4b5ca-a802-54b5-3135-428b7c9faa84@redhat.com> <87o8uo4mj0.fsf@tromey.com> <87blqfn0d6.fsf@tromey.com> <0b6b4f24-f5c8-b236-c249-737e70395667@suse.de> <4d5a1276-91aa-7197-5f90-854767987f73@suse.de> <87imkeh1za.fsf@redhat.com> <87eev0bp4s.fsf@tromey.com> <8736bd3jt2.fsf@redhat.com> <8736bdj9qt.fsf@tromey.com> <87pnegan2x.fsf@tromey.com> <87ftf99mkd.fsf@tromey.com> Date: Mon, 17 Feb 2020 18:46:00 -0000 In-Reply-To: (Tankut Baris Aktemur's message of "Mon, 17 Feb 2020 17:27:56 +0000") Message-ID: <878sl19hn5.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2020-02/txt/msg00688.txt.bz2 >>>>> ">" == Aktemur, Tankut Baris writes: >> It used to be possible to build gdbserver by directly using its configure. >> E.g.: path/to/gdbserver/configure, as shown here: >> https://sourceware.org/gdb/wiki/BuildingCrossGDBandGDBserver >> Is this not a use-case anymore? It is still possible to build just gdbserver, but the approach is different now. The documentation was updated as part of this switch. The new approach is to configure as usual, possibly disabling gdb as well, and then use "make all-gdbserver". I do it like: ../binutils-gdb/configure --disable-{binutils,gas,gold,gprof,ld,gdb} make all-gdbserver Plain "make" can also be used, but some unnecessary libraries will still be built -- that's why we recommend all-gdbserver. It might be good to also disable these libraries if no "deliverable" depends on them, but as that's a top-level change, it requires some more thought. Tom