[ANNOUNCEMENT] Updated: gdb-7.3.50-1

Chris Sutcliffe ir0nh34d@gmail.com
Wed Aug 3 10:33:00 GMT 2011


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



More information about the Cygwin mailing list