This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Iconv / Solaris
On Thu, Aug 27, 2009 at 04:36:09PM -0400, Daniel Jacobowitz wrote:
> > If they are not ok, I think we can just add a new setting to
> > configure.host. This is simpler to implement.
>
> I'm not sure how to do this without hardcoding it by platform. If the
> user has external libiconv, do we still want a change?
Maybe I'm thinking about this wrong... can we determine the encoding
of wchar_t somehow that works on Solaris? Something like what we do
now with nl_langinfo? Or is it not guaranteed to have any known
encoding?
I'm lost in the configure maze, but if we don't define PHONY_ICONV,
then INTERMEDIATE_CHARSET ought to be host_charset anyway. So the
fact that your patch made a difference implies that PHONY_ICONV is
defined. So what's failing? Isn't it our *dummy* iconv_open?
--
Daniel Jacobowitz
CodeSourcery