From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from confino.investici.org (confino.investici.org [IPv6:2a11:7980:1::2:0]) by sourceware.org (Postfix) with ESMTPS id 9A2933858284 for ; Fri, 5 Jan 2024 11:05:06 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 9A2933858284 Authentication-Results: sourceware.org; dmarc=pass (p=reject dis=none) header.from=autistici.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=autistici.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 9A2933858284 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a11:7980:1::2:0 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1704452708; cv=none; b=XVzdh0gGV1ByVF8XgiF7QbigSgtC2cYo+4Dg46uixOlS+1DZyBm8FrnQixnSo4rZQ+2ORwx4bCx5a/bZsngA2sn80DlD7jVtLXcUJN/hOIZHnxAXWv8YYRE+R+W80POsMMWhEF7/Pc09bPBpuUY8eNqwje3qwTpuDbD6IRCe0Cc= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1704452708; c=relaxed/simple; bh=eSixQBYsl15oQmilXluu6HYvB8lT05H01Jxf9f0QDqQ=; h=DKIM-Signature:MIME-Version:Date:From:To:Subject:Message-ID; b=rNnmKA13+LQ7oQw5Zs8TQx7ZN3h6TYQh9vjRSJPf6kM94zoAQ5sOD+HtMuZTReL0OcSjd2hPNH597qwRiK8/OEYLPJM+Cb/ziEBpJSZ7mQJjeB2VfPgE4QIrHfOuIb9NoT/xrUo/uOLM8Vj8Y4YsOwq+4ymdlC0X7i/QtwZDIHc= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1704452704; bh=PEtwvwzF3GdDnqRHAcVMJl1cnSu1OuKMnmlD5uUQYp8=; h=Date:From:To:Subject:From; b=iP2+JZXBbyPA1bIPOeauYrqznIEPA9USixuKvwT7XS0i1viFbChbkz/gCv9xXOIYm ZxKGNpAVcRTZjr8H3Qcl3dmmk0gP93kYdxH+EosZq6IH6cVWHq+e48RGEI/peOGTxC gX9Y2UMCIiRA8Q7YcYp+MNXVOwHUq+PdQQNLeQmU= Received: from 1.mail-backend.investici.org (unknown [10.0.0.11]) by confino.investici.org (Postfix) with ESMTP id 4T60wc5dgkz11WS for ; Fri, 5 Jan 2024 11:05:04 +0000 (UTC) Received: from 1.webmail.investici.org (localhost [127.0.0.1]) (Authenticated sender: i.nixman@autistici.org) by 1.mail-backend.investici.org (Postfix) with ESMTPA id 4T60wc4LW9z8slx for ; Fri, 5 Jan 2024 11:05:04 +0000 (UTC) MIME-Version: 1.0 Date: Fri, 05 Jan 2024 11:05:04 +0000 From: niXman To: Gcc Help Subject: --enable-nls doesn't work as expected User-Agent: Roundcube Webmail Message-ID: X-Sender: i.nixman@autistici.org Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.0 required=5.0 tests=BAYES_40,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: hello, in my MinGW-builds (https://github.com/niXman/mingw-builds) projects I use `--disable-nls` by default and all works as expected. but I received a request to enable NLS support: https://github.com/niXman/mingw-builds/issues/666 the problem is when using `--enable-nls` the built compiler outputs messages for the `gcc` or `gcc -v` or `gcc --help` commands in the language of the user's locale (in this case Chinese), but the error messages it still outputs in English: https://github.com/niXman/mingw-builds/issues/666#issuecomment-1878064389 any ideas? best!