Sorry your message arrived while I was typing mine.

I just removed both these lines from my cmakelibcxx script:
rem -DLIBCXX_CXX_ABI="libsupc++" ^
rem
-DLIBCXX_LIBSUPCXX_INCLUDE_PATHS="/mingw/lib/gcc/x86_64-w64-mingw32/4.8.1/include/c++;/mingw/lib/gcc/x86_64-w64-mingw32/4.8.1/include/c++/x86_64-w64-mingw32"
^

and that removed the __GLIBCXX__ problem.
I'm not sure why I put these lines in my scripts in the first place, as I
don't know what they do. They have been there for ever!

Hmmmm.

Ok, I'll try and work with these lines missing and see what happens and if
everything runs ok.

Thanks for your help with this.


On Thu, Oct 3, 2013 at 5:43 AM, Chandler Carruth <[email protected]>wrote:

>
> On Wed, Oct 2, 2013 at 10:58 AM, G M <[email protected]> wrote:
>
>> I build with cmake and ninja and I think it's cmake that is causing the
>> __GLIBCXX__ definition to get in but it's hard to see where.
>>
>> When I do
>> cd \libcxx_build
>> cmake -G "Ninja" c:/libcxx etc.
>>
>> and I look at the build.ninja file in c:\libcxx_build, and I see lines
>> like this:
>>
>>   DEFINES = -D_DEBUG -D_LIBCPP_BUILD_STATIC -D__GLIBCXX__
>>
>
> This indicates that in CMake, you have LIBCXX_CXX_ABI set to "libsupc++".
>
> I would try blowing away your CMakeCache.txt in your build tree,
> re-running cmake, and maybe overriding that CMake variable yourself.
>
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to