[cfe-dev] Building libc++ with libsupc++ puts "bits/" headers in the wrong spot(?)
Jim Porter
jvp4846 at g.rit.edu
Tue Sep 23 22:03:48 PDT 2014
Great, thanks!
- Jim
On 9/21/2014 9:01 PM, Eric Fiselier wrote:
> Hi Jim,
>
> Thanks for the report. There is a bug report for this already. I'll make
> it higher priority.
>
> http://llvm.org/bugs/show_bug.cgi?id=20936
>
> /Eric
>
> On Fri, Sep 19, 2014 at 3:34 PM, Jim Porter <jvp4846 at g.rit.edu
> <mailto:jvp4846 at g.rit.edu>> wrote:
>
> I tried building libc++ with libsupc++ as described in the
> documentation*, and while most of the stuff works, I can't #include
> <cxxabi.h>. It's possible I'm just doing something dumb, but it
> looks like libc++ is copying over some files from libsupc++ and
> putting them in the include directory along with the rest of libc++,
> instead of in a "bits/" subdirectory like cxxabi.h assumes (namely
> bits/c++config.h, bits/cxxabi_tweaks.h, and bits/cxxabi_forced.h).
>
> Is this a bug in libc++? I can't really tell what CMakeLists.txt is
> doing, since I'm not an expert on CMake, but it seems like it's
> copying the files and not making appropriate subdirectories for
> them. Of course, if I'm just doing this wrong, let me know so I can
> fix it on my end. :)
>
> - Jim
>
> * Here's the command I used to build:
>
> CC=clang CXX=clang++ cmake -G "Unix Makefiles"
> -DLIBCXX_CXX_ABI=libsupc++
> -DLIBCXX_LIBSUPCXX_INCLUDE___PATHS="/usr/include/c++/4.8/;/__usr/include/x86_64-linux-gnu/__c++/4.8/"
> -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$__INSTALL_DIR
> $SRC_DIR
>
> _________________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> <mailto:cfe-dev at cs.uiuc.edu>
> http://lists.cs.uiuc.edu/__mailman/listinfo/cfe-dev
> <http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev>
>
>
>
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
More information about the cfe-dev
mailing list