This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: FYI: WIP patch to build GDB with Python on MinGW
- From: Tom Tromey <tromey at redhat dot com>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 28 Jan 2011 04:09:33 -0700
- Subject: Re: FYI: WIP patch to build GDB with Python on MinGW
- References: <20110121011433.GA2440@adacore.com>
>>>>> "Joel" == Joel Brobecker <brobecker@adacore.com> writes:
Joel> Just in case someone else would like to build their GDB with Python
Joel> support enable on MinGW. This is Work In Progress, and is only shared
Joel> here in the hopes that it might be useful.
Joel> This opens the door for unexpected conflicts, given the filenames
Joel> chosen by the Python implementation. And sure enough, had a
Joel> "cute" issue: GDB has gdb/python/python.h, and Python has
Joel> <root>/include/Python.h. The Windows filesystem being case
Joel> insensitve, GCC started picking up gdb/python/python.h when
Joel> we meant to include Python.h.
Joel> I fixed that by renaming python.h into gdb-python.h.
Gross and unfortunate, but I don't see another solution.
It is ok with me if you want to check in these kinds of changes even if
they are not complete.
Tom