Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: asmwarrior <asmwarrior@gmail.com>
To: Doug Evans <dje@google.com>
Cc: tromey@redhat.com, gdb@sourceware.org
Subject: Re: issue about building windows version of gdb with python support
Date: Sat, 19 Jun 2010 03:11:00 -0000	[thread overview]
Message-ID: <4C1C3580.4000704@gmail.com> (raw)
In-Reply-To: <AANLkTimb_ZM29qN0fC8GG1EmhPQLaBLUnuh2_BPtnMqs@mail.gmail.com>

On 2010-6-18 21:09, Doug Evans wrote:
> On Thu, Jun 17, 2010 at 5:34 PM, asmwarrior<asmwarrior@gmail.com>  wrote:
>    
>> On 2010-6-17 1:36, Tom Tromey wrote:
>>      
>>> 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?
>>>
>>>        
>> Thanks for your reply. Infact, I'm quite new to "Python", so I even don't
>> know what does "--ldflags" means... Sorry. I have tried the snapshot 0616,
>> but build process failed due to some errors related to python. I guess you
>> have change the python-configure related code.
>>      
> In the gdb source tree, run
>
> python python/python-config.py --ldflags
>    
Thanks, I have download the latest snapshot then, run this command, here 
is the command log output

E:\code\cb\gdb_python\gdb-7.1.50.20100619\gdb-7.1.50.20100619\gdb\python>python-
config.py --ldflags
Traceback (most recent call last):
   File 
"E:\code\cb\gdb_python\gdb-7.1.50.20100619\gdb-7.1.50.20100619\gdb\python
\python-config.py", line 47, in <module>
     libs = getvar('LIBS').split() + getvar('SYSLIBS').split()
AttributeError: 'NoneType' object has no attribute 'split'

E:\code\cb\gdb_python\gdb-7.1.50.20100619\gdb-7.1.50.20100619\gdb\python>


Python2.6.5 was installed in E:\code\python265
The include header was: E:\code\python265\include  (all the xxxx.h files)
the lib was: E:\code\python265\libs                (all the xxxx.lib and 
libpython26.a )


So, I think these information can help you to solve the python issue on 
Windows.
Thanks

asmwarrior ollydbg from codeblocks forum.


  reply	other threads:[~2010-06-19  3:11 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-14 12:58 asmwarrior
2010-06-16 17:37 ` Tom Tromey
2010-06-16 18:09   ` Doug Evans
2010-06-18  0:34   ` asmwarrior
2010-06-18 13:09     ` Doug Evans
2010-06-19  3:11       ` asmwarrior [this message]
2010-06-19  3:18         ` Doug Evans

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4C1C3580.4000704@gmail.com \
    --to=asmwarrior@gmail.com \
    --cc=dje@google.com \
    --cc=gdb@sourceware.org \
    --cc=tromey@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox