This is the mail archive of the gdb-patches@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: FYI: WIP patch to build GDB with Python on MinGW


>>>>> "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


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