From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1185 invoked by alias); 9 Feb 2010 04:36:13 -0000 Received: (qmail 1177 invoked by uid 22791); 9 Feb 2010 04:36:12 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 09 Feb 2010 04:36:09 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id C795F2BABBD; Mon, 8 Feb 2010 23:36:07 -0500 (EST) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Ll0vQF5gHa0P; Mon, 8 Feb 2010 23:36:07 -0500 (EST) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 116AB2BAB65; Mon, 8 Feb 2010 23:36:07 -0500 (EST) Received: by joel.gnat.com (Postfix, from userid 1000) id F3B53F59A2; Tue, 9 Feb 2010 08:35:55 +0400 (RET) Date: Tue, 09 Feb 2010 04:36:00 -0000 From: Joel Brobecker To: Doug Evans Cc: gdb-patches@sourceware.org, tromey@redhat.com, msnyder@vmware.com Subject: Re: [RFC] configure additions for linking with static libpython Message-ID: <20100209043555.GF16325@adacore.com> References: <20100208192538.E075A84415@ruffy.mtv.corp.google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100208192538.E075A84415@ruffy.mtv.corp.google.com> User-Agent: Mutt/1.5.20 (2009-06-14) 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 X-SW-Source: 2010-02/txt/msg00250.txt.bz2 > 2010-02-08 Doug Evans > > * configure.ac (--with-python): Add necessary libraries > -dl, -lpthread, -lutil in case linking with libpython.a. > Add attempt to find libpython.a. > * configure: Regenerated. I don't object if this is useful to anyone, but... I am wondering whether it is really useful to link GDB against libpython.a... I looked at the thread you referenced, and I still wasn't sure what the problem was... Linking GDB against a static libpython is something I thought about for AdaCore, but I also realized that we'd need to distribute the python .py files anyway, so it's not big deal to distribute the entire python install, including share SOs... -- Joel