Hi Michael, * Michael Olbrich <[email protected]> [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 [email protected]
