From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 103067 invoked by alias); 28 Sep 2018 20:01:55 -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 103056 invoked by uid 89); 28 Sep 2018 20:01:55 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy= X-HELO: gateway31.websitewelcome.com Received: from gateway31.websitewelcome.com (HELO gateway31.websitewelcome.com) (192.185.144.219) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 28 Sep 2018 20:01:53 +0000 Received: from cm14.websitewelcome.com (cm14.websitewelcome.com [100.42.49.7]) by gateway31.websitewelcome.com (Postfix) with ESMTP id EF293174105 for ; Fri, 28 Sep 2018 15:01:51 -0500 (CDT) Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with SMTP id 5yxDgJp5fkBj65yxMgRplW; Fri, 28 Sep 2018 15:01:51 -0500 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=TppQzDFIfbjoByrF+jgmJOQ0SFQkUNS/izTkbTzms4Y=; b=PZPLEpQH2W6x+EhOuMFuh5a1lI GNl+LAErnoarzwsTAv6nzsLi5wLacwc5BuJryolUZcKtZTH52xIC27fMj1plIbanRErKlMpgQ4PYH q9YPMMVihGFdB15v2QtjscKvH; Received: from 97-122-190-66.hlrn.qwest.net ([97.122.190.66]:53858 helo=bapiya) by box5379.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.91) (envelope-from ) id 1g5yxC-000Els-Qo; Fri, 28 Sep 2018 15:01:34 -0500 From: Tom Tromey To: Eli Zaretskii Cc: Tom Tromey , gdb-patches@sourceware.org Subject: Re: [RFA] Update gdb's configure instructions References: <20180914042946.29248-1-tom@tromey.com> <83pnxgjxe7.fsf@gnu.org> <87y3bminvq.fsf@tromey.com> <83ftxu6pdo.fsf@gnu.org> Date: Fri, 28 Sep 2018 20:01:00 -0000 In-Reply-To: <83ftxu6pdo.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 28 Sep 2018 10:40:51 +0300") Message-ID: <87h8i9ie76.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2018-09/txt/msg00915.txt.bz2 >>>>> "Eli" == Eli Zaretskii writes: Eli> Did this change since GDB 8.2? Because when I built GDB 8.2, the Eli> argument to --with-python was the top-level directory of the Python Eli> installation on my build system. It can be either, it turns out. How's this text? `--with-python[=PYTHON]' Build GDB with Python scripting support. (Done by default if libpython is present and found at configure time.) Python makes GDB scripting much more powerful than the restricted CLI scripting language. If your host does not have Python installed, you can find it on `http://www.python.org/download/'. The oldest version of Python supported by GDB is 2.4. The optional argument PYTHON is used to find the Python headers and libraries. It can be either the name of a Python executable, or the name of the directory in which Python is installed. and in gdb.texinfo: @item Python @value{GDBN} can be scripted using Python language. @xref{Python}. By default, @value{GDBN} will be compiled if the Python libraries are installed and are found by @file{configure}. You can use the @code{--with-python} option to request Python, and pass either the file name of the relevant @code{python} executable, or the name of the directory in which Python is installed, to choose a particular installation of Python. Tom