From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.devel Subject: Re: Merging feature/android Date: Fri, 3 Mar 2023 13:17:00 -0800 Organization: UCLA Computer Science Department Message-ID: <382933e4-deb5-e107-9165-d41e55949f0a@cs.ucla.edu> References: <87edq7ztks.fsf.ref@yahoo.com> <87edq7ztks.fsf@yahoo.com> <83pm9reccn.fsf@gnu.org> <87v8jjxxo9.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13137"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 Cc: emacs-devel@gnu.org To: Po Lu , Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Mar 03 22:18:01 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 1pYCmt-0003B4-RZ for ged-emacs-devel@m.gmane-mx.org; Fri, 03 Mar 2023 22:18:00 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pYCm7-00005B-37; Fri, 03 Mar 2023 16:17:11 -0500 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 1pYCm2-00004q-P8 for emacs-devel@gnu.org; Fri, 03 Mar 2023 16:17:06 -0500 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pYCm0-000740-Me; Fri, 03 Mar 2023 16:17:06 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 2A71F1600BA; Fri, 3 Mar 2023 13:17:02 -0800 (PST) Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id CS31muDMkSOL; Fri, 3 Mar 2023 13:17:01 -0800 (PST) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 5A0A51600C0; Fri, 3 Mar 2023 13:17:01 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.9.2 zimbra.cs.ucla.edu 5A0A51600C0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cs.ucla.edu; s=78364E5A-2AF3-11ED-87FA-8298ECA2D365; t=1677878221; bh=nCg06Tm6XbsELE4Vj2OhWVEa8m7EmEpucGJBPHXeUsQ=; h=Message-ID:Date:MIME-Version:To:From:Subject:Content-Type: Content-Transfer-Encoding; b=pyfYfIpWoekRu8dnZ0ymKNo5pn/RRA0yWkWIlxynRSgSol/742lRE1WJ4opv3RuaT +oKYSnSaiGdgf7s4xfpoEmz2AIue93GzSgK7pnNRtff9ZtLbl9bwwDvSDq+e7IE3PJ rfNG4U25ZnTbjvvyrdi4rO+ngSBad2iH32SoTRd8= X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 6WKnPtg-yeKf; Fri, 3 Mar 2023 13:17:01 -0800 (PST) Original-Received: from [192.168.1.9] (cpe-172-91-119-151.socal.res.rr.com [172.91.119.151]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 2FCB41600BA; Fri, 3 Mar 2023 13:17:01 -0800 (PST) Content-Language: en-US In-Reply-To: <87v8jjxxo9.fsf@yahoo.com> Received-SPF: pass client-ip=131.179.128.68; envelope-from=eggert@cs.ucla.edu; helo=zimbra.cs.ucla.edu X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, NICE_REPLY_A=-0.089, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:303925 Archived-At: On 2023-03-02 02:19, Po Lu wrote: > Paul, the Android port really needs the `printf-posix' and > `vasprintf-posix' modules (as Android's printf ranges from ``completely > broken'' to ``just missing %td'' depending on the OS version being > used), but stpncpy and getline are only ``nice-to-have''s. Is there any > downside to depending on those additional gnulib modules? And will they > build on MS Windows as well? They should build. They'll bring in a lot of support modules, but if we play our cards right those modules will be built only on Android so it's only a matter of library code clutter. > I tried multiple times, but the gnulib stuff kept trying to include > generated headers from the wrong copy of gnulib, so in the end I > couldn't find any way around having to keep two copies of gnulib > in-tree. This should be doable by having two build directories, but only one copy of the Gnulib source should be needed. The two build directories would have different config.h files. You'd run 'configure' twice (or have two 'configure' files if you want to be fancier). That sort of thing.