From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5025 invoked by alias); 30 May 2013 22:04:42 -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 4999 invoked by uid 89); 30 May 2013 22:04:37 -0000 X-Spam-SWARE-Status: No, score=-0.6 required=5.0 tests=AWL,BAYES_40,RCVD_IN_HOSTKARMA_YE,RCVD_IN_NIX_SPAM,SPF_SOFTFAIL autolearn=no version=3.3.1 Received: from oproxy12-pub.bluehost.com (HELO oproxy12-pub.bluehost.com) (50.87.16.10) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with SMTP; Thu, 30 May 2013 22:04:25 +0000 Received: (qmail 15850 invoked by uid 0); 30 May 2013 22:04:23 -0000 Received: from unknown (HELO box531.bluehost.com) (74.220.219.131) by oproxy12.bluehost.com with SMTP; 30 May 2013 22:04:23 -0000 Received: from [173.9.45.73] (port=44936 helo=[10.1.37.145]) by box531.bluehost.com with esmtpsa (SSLv3:CAMELLIA256-SHA:256) (Exim 4.80) (envelope-from ) id 1UiAxL-0004MW-13 for gdb@sourceware.org; Thu, 30 May 2013 16:04:23 -0600 Message-ID: <1369951459.3295.229.camel@pdsdesk> Subject: GDB with python support: which version of Python? From: Paul Smith Reply-To: psmith@gnu.org To: gdb@sourceware.org Date: Thu, 30 May 2013 22:04:00 -0000 Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Identified-User: {678:box531.bluehost.com:madscie1:mad-scientist.us} {sentby:smtp auth 173.9.45.73 authed with paul+mad-scientist.us} X-SW-Source: 2013-05/txt/msg00138.txt.bz2 Hi all; 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. 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? 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? Thanks!