|
From: | Peter Teeson |
Subject: | Re: [Bug-apl] Linker error libstdc++ vs Libc++ |
Date: | Mon, 05 May 2014 16:21:06 -0400 |
Hi Jürgen: OK I spent some time digging around and maybe I understand a bit more.Based on the details below it is my understanding that •gettext was built using libstdc++ •but GNU APL was built using libc++ And so we have incompatible binaries. On OS X 10.8 I had previously, installed gettext which includes libintl in /usr/local/lib so I could test NLS I now know that gettext and libintl was built then with libstdc++. Why? Because I again downloaded the source from GNU and grepped for libstdc++ and found it. Whereas grepping for libc++ was not found. However here is the Xcode setting for CLANG_CXX_LIBRARY = libc++ and this is what GNU APL was built with- i.e. Apple's default. The interesting question is what to do about it? (1) Change Xcode setting and thus diverge from Apple default? (2) Build gettext with libc++ - but should that not come from the maintainer? (I certainly don't have enough deep understanding to go fiddling with the gettext auto tools stuff) (3) For GNU APL on Macintosh ./configure --without-nls For now I shall follow (3) but in the future it might be nice to allow NLS support. Not totally confident that I have analyzed this correctly. What do you think? respect…. Peter P.S. Now leaving this rabbit trail and going back to nabla and Editor 1 =============== supporting evidence ============ Here are some more details FWIW using previously installed get text (in March) Using a fresh SVN co and then ./configure, the terminal log showed the following … checking whether NLS is requested… yes … checking for GNU gettext in libintl... yes <<<<===== checking whether to use NLS… yes <<<<===== So problem because of incompatible binaries (Back in March I didn't understand the problem and just reconfigured --without-nls) Now the fresh SVN co showed up the issue again and forced me to try to understand it. On OS X 10.9 I have never installed gettext and libintl. Following the same steps as above the terminal log shows … checking whether NLS is requested… yes … checking for GNU gettext in libintl... no <<<<===== checking whether to use NLS… no <<<======= … So no problem because no NLS On 2014-05-04, at 7:13 AM, Juergen Sauermann <address@hidden> wrote:
|
[Prev in Thread] | Current Thread | [Next in Thread] |