From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from smtprelay03.ispgateway.de ([80.67.18.15]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1SGaOx-0000qH-Qo for ptxdist@pengutronix.de; Sat, 07 Apr 2012 20:30:20 +0200 Received: from [78.47.165.117] (helo=regiomontanus.bwalle.de) by smtprelay03.ispgateway.de with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.68) (envelope-from ) id 1SGaOx-0003xv-4N for ptxdist@pengutronix.de; Sat, 07 Apr 2012 20:30:19 +0200 Date: Sat, 7 Apr 2012 20:30:17 +0200 From: Bernhard Walle Message-ID: <20120407183017.GA32754@regiomontanus.bwalle.de> References: <1329061495-12043-1-git-send-email-bernhard@bwalle.de> <20120324121512.GI24724@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20120324121512.GI24724@pengutronix.de> Subject: Re: [ptxdist] localedef: Build fixes for Darwin Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Hi Michael, * Michael Olbrich [2012-03-24 13:15]: > On Sun, Feb 12, 2012 at 04:44:52PM +0100, Bernhard Walle wrote: > > This patch series against the ptx branch in mol/localedef.git makes > > localedef compiling on Darwin. Tested on Mac OS 10.7 (Lion). > > > > I know you suggested using host-gettext-dummy, but that didn't work out of the > > box. Creating the host-gettext-dummy rules was easy and it worked, but the > > files copied from eglibc didn't compile; fixing that would be much more work > > than just defining two macros, so I took the easy way. > > I finally managed to work on this again. I've merged the patches, created a > release and pushed an update to ptxdist. Please test. Sorry for my late feedback on this. The good news is that host-localedef builds with FSF GCC 4.2 [1] (and that was the compiler that I tested on my old MacBook when I created the patches). For LLVM GCC [2] which is used in new XCode versions (the old gcc can still be installed as gcc-apple-4.2 with MacPorts), a small fix is needed, I'll send a patch afterwards. So if you could apply that patch and queue it for future releases that would be awesome. I guess that this issue has nothing to do with MacOS but that LLVM GCC on Linux yields to the same results. However, I also guess that nobody out there uses LLVM GCC on Linux to build such tools... Regards, Bernhard [1] i686-apple-darwin11-gcc-apple-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5666) (dot 3) [2] i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.9.00) -- ptxdist mailing list ptxdist@pengutronix.de