From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30519 invoked by alias); 8 Feb 2010 20:03:56 -0000 Received: (qmail 30456 invoked by uid 22791); 8 Feb 2010 20:03:55 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 08 Feb 2010 20:03:52 +0000 Received: (qmail 21325 invoked from network); 8 Feb 2010 20:03:50 -0000 Received: from unknown (HELO caradoc.them.org) (dan@127.0.0.2) by mail.codesourcery.com with ESMTPA; 8 Feb 2010 20:03:50 -0000 Date: Mon, 08 Feb 2010 20:03:00 -0000 From: Daniel Jacobowitz 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: <20100208200347.GB16662@caradoc.them.org> Mail-Followup-To: Doug Evans , gdb-patches@sourceware.org, tromey@redhat.com, msnyder@vmware.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/msg00228.txt.bz2 On Mon, Feb 08, 2010 at 11:25:38AM -0800, Doug Evans wrote: > Hi. > I was going through my mail and found this thread: > > http://sourceware.org/ml/gdb/2010-01/msg00223.html > > Tested on i686-linux and amd64-linux with a static-library-only > python installation. I wasn't sure how common static-only > installations are so I didn't submitted this earlier. > > The -lutil is necessary to find forkpty, openpty, > referenced by at least libpython2.4.a(posixmodule.o). > I don't know how common libutil is w.r.t. libpython. > Maybe the script should first test for libutil? Yes, I think it should. Can we check for all three libraries and link any that work? -- Daniel Jacobowitz CodeSourcery