From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17345 invoked by alias); 31 May 2013 00:04:33 -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 17334 invoked by uid 89); 31 May 2013 00:04:33 -0000 X-Spam-SWARE-Status: No, score=-5.9 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.1 Received: from ausc60pc101.us.dell.com (HELO ausc60pc101.us.dell.com) (143.166.85.206) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Fri, 31 May 2013 00:04:28 +0000 X-LoopCount0: from 10.170.28.40 From: To: CC: Subject: Re: GDB with python support: which version of Python? Date: Fri, 31 May 2013 00:04:00 -0000 Message-ID: References: <1369951459.3295.229.camel@pdsdesk> In-Reply-To: <1369951459.3295.229.camel@pdsdesk> Content-Type: text/plain; charset="us-ascii" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-SW-Source: 2013-05/txt/msg00139.txt.bz2 On May 30, 2013, at 6:04 PM, Paul Smith wrote: > Hi all; >=20 > I'm trying to build a portable version of GDB, with Python support, that > I can use on many different (GNU/Linux) systems. It's frustrating > because Python versions are all over the place: every distro you use, it > seems like, has a different not-completely-compatible version. >=20 > Plus, I can't find any straightforward way to build GDB with Python > linked statically to avoid local .so version problems. Seems GDB > configure doesn't really support this. I'm thinking of pulling a Python > install without any .so to force static linking. Have others tried > this? >=20 > I see from the README that the "oldest version of Python supported by > GDB is 2.4". Is there a _recommended_ version of Python? 2.7? 3.x? > Something else? My personal favorite is 3.latest, but for those who want Python 2, I'd say = 2.latest (i.e., 2.7). But it's really more a matter of what you have insta= lled. If you can most easily install some other version, or you have other= libraries that need a particular Python version, then that would decide th= ings. I've built gdb for pretty much all the 2.x and 3.x versions supported; it's= all easy. paul