delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/08/03/06:33:51

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <1312271047.3500.32.camel@YAAKOV04>
References: <20050327022314 DOT GA12247 AT trixie DOT casa DOT cgf DOT cx> <20060707221634 DOT GA31813 AT trixie DOT casa DOT cgf DOT cx> <20060709174111 DOT GA16106 AT trixie DOT casa DOT cgf DOT cx> <20080405202216 DOT GA4943 AT ednor DOT casa DOT cgf DOT cx> <announce DOT 20110731172411 DOT GA25180 AT ednor DOT casa DOT cgf DOT cx> <20110731175952 DOT GA12698 AT ednor DOT casa DOT cgf DOT cx> <1312271047 DOT 3500 DOT 32 DOT camel AT YAAKOV04>
Date: Wed, 3 Aug 2011 06:33:18 -0400
Message-ID: <CAGHJv4d9yK4XJGaNJzbuoSSDk5NEqyx87XVwHi-N7W_azdYHpQ@mail.gmail.com>
Subject: Re: [ANNOUNCEMENT] Updated: gdb-7.3.50-1
From: Chris Sutcliffe <ir0nh34d AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id p73AXkHU000637

On 2 August 2011 03:44, Yaakov (Cygwin/X)  wrote:
> On Sun, 2011-07-31 at 13:59 -0400, Christopher Faylor wrote:
>> As usual, I forgot an item of news that I wanted to impart a second
>> after hitting 'y'.  For those who follow this type of thing, gdb now has
>> a python scripting interface.  That is not turned on in this Cygwin
>> release, primarily because the release was so overdue that I didn't want
>> to waste time figuring out what I needed to pull into my cross-build
>> environment.
>
> If I may, based on looking at configure, you'll need libpython2.6.dll.a
> in $sysroot/usr/lib and the Python headers in
> $sysroot/usr/include/python2.6, and add -I$sysroot/usr/include/python2.6
> to CPPFLAGS.  (I wouldn't advise moving them straight into
> $sysroot/usr/include/, their names are too generic.)

Passing '--with-python=/usr/bin/python' as opposed to messing with
CPPFLAGS, etc. might be easier.  I just recently built if for MinGW
and specifying the python interpreter in '--with-python' caused gdb's
configure to DTRT (in terms of locating the header files, appropriate
libraries, etc.).

Cheers,

Chris

-- 
Chris Sutcliffe
http://emergedesktop.org
http://www.google.com/profiles/ir0nh34d

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019