From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Android port Date: Fri, 04 Aug 2023 13:34:54 +0300 Message-ID: <83350zw0xd.fsf@gnu.org> References: <1428589171.162865.1691134964773@mail1.libero.it> <87h6pf9m6s.fsf@yahoo.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39474"; mail-complaints-to="usenet@ciao.gmane.io" Cc: angelo.g0@libero.it, emacs-devel@gnu.org To: Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Aug 04 12:35:36 2023 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qRs9e-0009z9-Tc for ged-emacs-devel@m.gmane-mx.org; Fri, 04 Aug 2023 12:35:35 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qRs8q-0003eY-GW; Fri, 04 Aug 2023 06:34:44 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qRs8o-0003eB-G0 for emacs-devel@gnu.org; Fri, 04 Aug 2023 06:34:42 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qRs8o-0003l3-7Q; Fri, 04 Aug 2023 06:34:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=Ssns2pi4qcQMo1qC3Svbd801msqMSWELrTxXz9A6Qs0=; b=br6eSuVNCE0V Ui9LchsZ9gSE2yXdwxiDpuLpKzKlk82k/TgVU0P/mTUJ4Zpzvs5TvlH77sEvPg/XR3fB0Y5F7VbWH rDaH+CTMnRS7Up/OpHLH73JFtP6bCGMAVtwHuAeZZ88KbND03mO331p+Gb3JJIYLwG4WitShPk4vt A+YZXJGNiLhq9Z9CsE0KY2VCJi0ze7zJk41hOsOoAxzl/iKn1QeQ8H7Tl90Cy7FiR3XrAofyFcmXy Hbgp2ZJRGgT7heHxC28bgPB+SK1/LXUGBqUvdG9RUG21Jh+Zm353wPC0zxPL9VDvdGhyzOkIGvaFA NZt0rOgNYWRQmETWq39Rpg==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qRs8n-0006KJ-Cv; Fri, 04 Aug 2023 06:34:41 -0400 In-Reply-To: <87h6pf9m6s.fsf@yahoo.com> (message from Po Lu on Fri, 04 Aug 2023 17:44:11 +0800) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:308281 Archived-At: > From: Po Lu > Cc: "emacs-devel@gnu.org" > Date: Fri, 04 Aug 2023 17:44:11 +0800 > > Thanks. What about after applying the following change and rerunning > configure? > > diff --git a/nt/mingw-cfg.site b/nt/mingw-cfg.site > index e8b4711f548..68e264fde4c 100644 > --- a/nt/mingw-cfg.site > +++ b/nt/mingw-cfg.site > @@ -178,9 +178,11 @@ gl_cv_func_printf_sizes_c99=yes > gl_cv_func_printf_long_double=yes > gl_cv_func_printf_infinite_long_double=yes > gl_cv_func_printf_directive_a=yes > +gl_cv_func_printf_directive_b=yes > gl_cv_func_printf_directive_f=yes > gl_cv_func_printf_directive_n=yes > gl_cv_func_printf_directive_ls=yes > +gl_cv_func_printf_directive_lc=yes > gl_cv_func_printf_positions=yes > gl_cv_func_printf_flag_grouping=yes > gl_cv_func_printf_flag_leftadjust=yes If MinGW doesn't support those directives, the above is not TRT, it might cause future maintenance headaches. I don't think MSVCRT.DLL's implementation of printf supports those, at least not on all versions of Windows.