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 Fri, Jun 18, 2010 at 8:12 PM, asmwarrior <asmwarrior@gmail.com> wrote:
>> 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.

Well, I wish it did, but alas it doesn't.
It seems like windows's python is incompatible with the unix's
python's python-config.py script.  Seems odd though.


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