From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3082 invoked by alias); 16 Jun 2010 17:37:01 -0000 Received: (qmail 3070 invoked by uid 22791); 16 Jun 2010 17:37:00 -0000 X-SWARE-Spam-Status: No, hits=-5.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 16 Jun 2010 17:36:55 +0000 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o5GHaqIU009336 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 16 Jun 2010 13:36:53 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o5GHaqtL030813; Wed, 16 Jun 2010 13:36:52 -0400 Received: from opsy.redhat.com (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id o5GHapLM019074; Wed, 16 Jun 2010 13:36:52 -0400 Received: by opsy.redhat.com (Postfix, from userid 500) id 792C1C88038; Wed, 16 Jun 2010 11:36:51 -0600 (MDT) From: Tom Tromey To: asmwarrior Cc: gdb@sourceware.org Subject: Re: issue about building windows version of gdb with python support References: <4C162783.4010706@gmail.com> Reply-To: tromey@redhat.com Date: Wed, 16 Jun 2010 17:37:00 -0000 In-Reply-To: <4C162783.4010706@gmail.com> (asmwarrior@gmail.com's message of "Mon, 14 Jun 2010 20:58:43 +0800") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 X-SW-Source: 2010-06/txt/msg00058.txt.bz2 >>>>> ">" == Asm gmail writes: >> Today, I have build a gdb.exe with python support under windows(i'm >> using TDMMinGW 4.5 dw2 version, I use the latest gdb snapshot 7.1.5 >> 20100613, python 2.6.5). [...] >> E:\XXXX\python this is the root folder. >> Then E:\XXXX\python\include, this is the header directory. >> Then, the lib foldee was: E:\XXXX\python\libs (please note that >> the path name is"libs" not lib.) Hmm, I would have thought that the python-config.py stuff (in gdb/python/) would do the right thing here. What is the output on your machine when you run that with --ldflags? I'm wondering if configure is somehow falling through to the old code, or if Python itself is somehow misconfigured, or if it is an upstream Python bug. Even if it is a Python bug, maybe we can work around it somehow. Tom