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: [RFC] Make string printing work on NetBSD (iconv issue)


Paul Koning <Paul_Koning@dell.com> writes:

> +dnl Check if iconv handles wchar_t, and if not, what to use instead.
> +if test "x$am_cv_func_iconv" = "xyes"; then
> +  AC_MSG_CHECKING(iconv codeset for wchar_t)
> +  if iconv -f ascii -t wchar_t /dev/null; then
> +    AC_MSG_RESULT(wchar_t)
> +    AC_DEFINE([ICONV_INTERMEDIATE_ENCODING],["wchar_t"],
> +              [Codeset name that corresponds to wchar_t encoding.])

That tests iconv on the build system, but gdb uses iconv on the host
system.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


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