NameDateSize

..09-Dec-201726

AUTHORSH A D10-Nov-201535

auxhelper.ccH A D10-Nov-20152.9 KiB

COPYRIGHTH A D10-Nov-201551

cxa_atexit.cH A D10-Nov-20152 KiB

cxa_finalize.cH A D10-Nov-20151.3 KiB

dynamic_cast.ccH A D10-Nov-20156.2 KiB

exception.ccH A D10-Nov-201546.3 KiB

guard.ccH A D10-Nov-20156.8 KiB

libelftc_dem_gnu3.cH A D10-Nov-201584.9 KiB

LICENSEH A D10-Nov-20151.5 KiB

memory.ccH A D10-Nov-20153.6 KiB

READMEH A D10-Nov-20152.9 KiB

stdexcept.ccH A D10-Nov-20152.9 KiB

terminate.ccH A D10-Nov-20151.6 KiB

typeinfo.ccH A D10-Nov-20153.7 KiB

README

1libcxxabi
2=========
3
4This library implements the Code Sourcery C++ ABI, as documented here:
5
6http://www.codesourcery.com/public/cxx-abi/abi.html
7
8It is intended to sit below an STL implementation, and provide features required by the compiler for implementation of the C++ language.
9
10Current Status
11--------------
12
13At present, the library implements the following parts of the ABI specification:
14
15- RTTI classes and support for the dynamic_cast<> operator.
16- Exception handling.
17- Thread-safe initializers.
18
19Exception handling requires the assistance of a stack-unwinding library
20implementing the low-level parts of the ABI.  Either libgcc_s or libunwind
21should work for this purpose.
22
23The library depends on various libc features, but does not depend on any C++
24features not implemented purely in the compiler or in the library itself.
25
26Supported Platforms
27-------------------
28
29This code was initially developed on FreeBSD/x86, and has also been tested on FreeBSD/x86-64.  It should work on other platforms that use the Code Sourcery ABI, for example Itanium, however this is untested.
30
31This library also supports the ARM EH ABI.
32
33Installation
34------------
35
36The default build system does not perform any installation.  It is expected that this will be done by at a higher level.  The exact installation steps depend on how you plan on deploying libcxxrt.
37
38There are three files that you may consider installing:
39
40- cxxabi.h (and unwind.h and either unwind-arm.h or unwind-itanium.h)
41- libcxxrt.a
42- libcxxrt.so
43
44The first describes the contract between this library and the compiler / STL implementation (lib[std]{cxx,c++}).  Its contents should be considered semi-private, as it is probably not a good idea to encourage any code above the STL implementation to depend on it.  Doing so will introduce portability issues.  You may install this file but I recommend simply copying or linking it into your STL implementation's build directory.
45
46In general, I recommend against installing both the .a and the .so file.  For static linking, the .a file should be linked against the static and dynamic versions of your STL implementation.  Statically linking libcxxrt into your STL implementation means that users who dynamically link against the STL implementation can have libcxxrt upgraded automatically when you ship a new version of your STL implementation.
47
48The other option, installing the .so, is recommended for situations where you have two or more STL implementations and wish to be able to link against both (e.g. where an application links one library using libstdc++ and another using libc++).  To support this case, you should link both STL implementations against libcxxrt.so.  
49
50Supporting all of these options in the CMake build system is not practical - the amount of effort required to select the one that you want would be more than the effort required to perform the installation from an external script or build system.
51