From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15274 invoked by alias); 4 May 2010 20:01:22 -0000 Received: (qmail 15068 invoked by uid 22791); 4 May 2010 20:01:20 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from mail-out.m-online.net (HELO mail-out.m-online.net) (212.18.0.10) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 04 May 2010 20:01:11 +0000 Received: from mail01.m-online.net (mail.m-online.net [192.168.3.149]) by mail-out.m-online.net (Postfix) with ESMTP id 2BA281C0019A; Tue, 4 May 2010 22:01:08 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.8.164]) by mail.m-online.net (Postfix) with ESMTP id AB58690273; Tue, 4 May 2010 22:01:08 +0200 (CEST) Received: from mail.mnet-online.de ([192.168.3.149]) by localhost (dynscan1.mnet-online.de [192.168.8.164]) (amavisd-new, port 10024) with ESMTP id UTXHC6J3yHpg; Tue, 4 May 2010 22:01:03 +0200 (CEST) Received: from igel.home (ppp-88-217-104-204.dynamic.mnet-online.de [88.217.104.204]) by mail.mnet-online.de (Postfix) with ESMTP; Tue, 4 May 2010 22:01:03 +0200 (CEST) Received: by igel.home (Postfix, from userid 501) id 77A64CA297; Tue, 4 May 2010 22:01:03 +0200 (CEST) From: Andreas Schwab To: Paul Koning Cc: gdb-patches@sourceware.org Subject: Re: [RFC] Make string printing work on NetBSD (iconv issue) References: <19424.30941.651367.946330@pkoning-laptop.equallogic.com> X-Yow: I have nostalgia for the late Sixties! In 1969 I left my laundry with a hippie!! During an unauthorized Tupperware party it was chopped & diced! Date: Tue, 04 May 2010 20:01:00 -0000 In-Reply-To: <19424.30941.651367.946330@pkoning-laptop.equallogic.com> (Paul Koning's message of "Tue, 4 May 2010 15:43:25 -0400") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.97 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2010-05/txt/msg00075.txt.bz2 Paul Koning 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."