3 New users may wish to point their web browsers to the file index.html
4 in the 'docs' subdirectory. It contains brief building instructions
5 and notes on how to configure the library in interesting ways.
8 Instructions for configuring and building this snapshot appear
11 This directory contains the files needed to create [a still broken
12 subset of] an ISO Standard C++ Library.
14 It has subdirectories:
17 Files included by standard headers and by other files in
18 the bits directory. Includes a set of files bits/std_xxxx.h
19 that implement the standard headers <xxxx>.
22 Files meant to be found by #include <name> directives in
23 standard-conforming user programs. These headers are not
24 referred to by other headers, because such dependencies
25 confuse Make (leading it to delete them, all too often).
26 Installations may substitute symbolic links in place of
30 Headers that define extensions to the standard library. No
31 standard header refers to any of them.
34 Headers provided for backward compatibility, such as <iostream.h>.
35 They are not used in this library.
38 Files that are used in constructing the library, but are not
41 testsuites/17_* to 27_*
42 Test programs are here, and may be used to begin to exercise the
43 library. Support for "make check" and "make check-install" is
44 complete, and runs through all the subdirectories here when this
45 command is issued from the build directory. Please note that
46 "make check" calls the script mkcheck, which requires bash, and which
47 may need the paths to bash adjusted to work properly, as /bin/bash is
51 Headers intended to shadow standard C headers provided by an
52 underlying OS or C library, and other headers depended on directly
53 by C++ headers (e.g. unistd.h). These are meant to wrap the names
54 defined there into the _CSwamp namespace.
55 [NB: this is still experimental, and is not currently used.]
58 The contents of this directory are constructed by scripts which
59 examine the underlying C headers to discover other headers they
60 depend on. These headers are wrappers for them.
61 [NB: this is still experimental, and is not currently used.]
63 Other subdirectories contain variant versions of certain files
64 that are meant to be copied or linked by the configure script.
67 amm1 generic glibc math
69 Files needed only to construct the library, but not installed,
70 are in src/. Files to be copied as part of an installation are
71 all found in the subdirectories mentioned above. (A configure
72 script may link files from another directory into one of these.)
74 In a normal installation the bits/ directory is copied
75 under the std/ directory, and arranged to be searched only
76 when an include directive specifies a filename of "bits/..."
77 or <bits/...>. When building the library, we use
79 -Istd -I. -Iconfig/* -Iconfig/cpu/*
81 to get the same effect.
83 Note that glibc also has a bits/ subdirectory. We will either
84 need to be careful not to collide with names in its bits/
85 directory; or rename bits to (e.g.) cppbits/.
87 To install libstdc++ you need GNU make. The makefiles do not work with
90 In files throughout the system, lines marked with an "XXX" indicate
91 a bug or incompletely-implemented feature. Lines marked "XXX MT"
92 indicate a place that may require attention for multi-thread safety.
93 (Warning: places that need an atomic read are not so marked yet.)