Compiling Windows GDB with python support

Asked by Ivan Sevcik

I need assistance with recompiling Windows version of GDB from sources - After 1 day of retrying to compile Linux version (prerequisite) I finally succeeded, so I could step further to Windows GDB compilation, with python enabled (--with-python=yes). Even though I had no issue compiling Linux GDB version with python enabled, Windows one can't find expat nor Python on system (I double checked in synaptic manager, they ARE installed, and just to be sure I installed -dev packages also). Any idea what might be going wrong?

I commented tasks which we're no longer needed in script file to speed things up at encountering error, so it might be worth the check: http://snipt.org/AHo2
Otherwise I followed manual for building with skipping "Build native gcc" step and installing mingw through synaptic manager too.

I wouldn't mind if someone could provide GDB with python support instead of trying to solve my compiling issues either, I just want to move on to real stuff and don't waste time with this.

Question information

Language:
English Edit question
Status:
Answered
For:
GNU Arm Embedded Toolchain Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Terry Guo (terry.guo) said :
#1

I think the windows gdb with python support requires python support from whole mingw system, not the python from your Ubuntu or Linux host system. And there are some work need to be done to support python in Mingw.

Revision history for this message
Pitchumani Sivanupandi (pitchumani-s) said :
#2

Hi Terry Guo,

I could find "gdb with python" in 2014q4 release. But I could not find build info for mingw32 build of gdb with python.
For example, contents of python-win directory and python-config.sh. There is some patch in https://bugs.launchpad.net/gcc-arm-embedded/+bug/1294231. I hope that is not valid for release 2014q4.

Can you help with this problem?

Provide an answer of your own, or ask Ivan Sevcik for more information if necessary.

To post a message you must log in.