From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5602 invoked by alias); 30 Sep 2019 19:34:19 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 5593 invoked by uid 89); 30 Sep 2019 19:34:19 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00,KAM_NUMSUBJECT,RCVD_IN_DNSWL_NONE autolearn=no version=3.3.1 spammy=UNIX, greybeard, GreyBeard, SPARC X-HELO: atl4mhob13.registeredsite.com Received: from atl4mhob13.registeredsite.com (HELO atl4mhob13.registeredsite.com) (209.17.115.51) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 30 Sep 2019 19:34:18 +0000 Received: from mailpod.hostingplatform.com (atl4qobmail01pod2.registeredsite.com [10.30.77.35]) by atl4mhob13.registeredsite.com (8.14.4/8.14.4) with ESMTP id x8UJYC2j026738 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Mon, 30 Sep 2019 15:34:15 -0400 Received: (qmail 37577 invoked by uid 0); 30 Sep 2019 19:34:12 -0000 X-TCPREMOTEIP: 99.253.177.25 X-Authenticated-UID: dclarke@blastwave.org Received: from unknown (HELO ?172.16.35.3?) (dclarke@blastwave.org@99.253.177.25) by 0 with ESMTPA; 30 Sep 2019 19:34:12 -0000 Subject: Re: gcc on Sparc Solaris 8 To: gcc-help@gcc.gnu.org References: <2147124760.1726006.1569850372525.ref@mail.yahoo.com> <2147124760.1726006.1569850372525@mail.yahoo.com> From: Dennis Clarke Message-ID: <4a6d0069-1245-4a9b-2a2f-30fb3b6aa277@blastwave.org> Date: Mon, 30 Sep 2019 19:34:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:70.0) Gecko/20100101 Thunderbird/70.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2019-09/txt/msg00123.txt.bz2 > In any case, sscanf is not part of GCC, it comes from the Solaris C > library, so this is not a GCC problem. > This is not a GCC problem and not even a Solaris problem. He needs to simply setlocale first : #include char *setlocale(int category, const char *locale); Problem solved. -- Dennis Clarke RISC-V/SPARC/PPC/ARM/CISC UNIX and Linux spoken GreyBeard and suspenders optional