HFST: (name of this topic page)

 osx - MathLink linking error after OS X 10.9 (Mavericks) upgrade

This is the working config line:
 ./configure --enable-lexc --enable-proc --enable-xfst --without-sfst CXXFLAGS="-I/usr/include/c++/4.2.1" LDFLAGS="
and the corresponding make command:
 make CXXFLAGS="-I/usr/include/c++/4.2.1" LDFLAGS=" -stdlib=libstdc++"
 It would be nice if this could be incorporated in the autotools
 ... setup, but I don't know how hard that would be

Two choices:
1. Migrate your code from tr1 to std. I will show how to do this below. It is very easy. And it can be done in a manner in
                 which your code is portable to both the old libstdc++ and the new libc++. This is the path "people at some company 
 2. Override the default std::lib choice and specifically choose the older gcc-4.2 based libstdc++. This is the easier path.
                 But if this path is chosen, you are ultimately simply delaying the (relatively easy) work of doing step 1.

 LDFLAGS=-stdlib=libstdc++ is the relevant setting I think
 or AM_LDFLAGS for us

-- ErikAxelson - 2013-10-29

Topic revision: r2 - 2013-10-29 - ErikAxelson
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback