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: [PATCH] PR exp/9103


>>>>> "Joel" == Joel Brobecker <brobecker@adacore.com> writes:

Joel> One of the things I might add later to this is an option to
Joel> force the use of the dummy libiconv, like a --without-libiconv
Joel> option or some such.

FWIW this only requires changing a single #if -- the one in
gdb_wchar.h.  I tested this sort of build by hacking in "0 &&" there :-)

Joel> Not sure yet if AdaCore is going to be interested in that
Joel> option, or not. If I can, I'd rather build a static libiconv and
Joel> configure GDB to use that.

Assuming you have your own tree, like the now-ancient Cygnus "devo"
tree, I would suggest simply importing libiconv.  From what I can tell
it has fairly modest porting requirements; it can't be too hard to
port it to any oddball machines you may have.  Then, it will be used
when needed, and built (but ignored) when not.

There may be machines where configure will pick the system iconv but
where gdb will not work properly.  I am happy to help deal with
problems along these lines.

Tom


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