This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: issue about building windows version of gdb with python support


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]