Mail Archives: djgpp/2003/11/03/14:00:10
"Bill Cunningham" <nospam AT net> wrote:
> I have DJGPP installed with C and C++ support. in the lang directory and in
> that tree are some non-standard headers, in the bits folder I think. What
> are they for?
Please ask your question again, except this time please be MUCH more
specific. Exactly which headers are you referring to and which
subdirectory (including the complete path) are you referring to? In
addition, what version of gcc do you have installed?
For example, for gcc 3.3, djgpp\lang\cxx\3.3\bits contains the
_implementation_ of the C++ standard library. In other words, the
files in this subdirectory are indirectly included by the standard C++
headers, but are not directly included by the user. Which is another
way of saying that you don't need to worry about those headers
ordinarily.
Also for gcc 3.3, djgpp\lang\cxx\3.3\ext includes a bunch of
non-standard headers. When SGI developed the STL, they included a
number of features that didn't make it into the C++ standard library
when the C++ standard was adopted in 1998. These additional features
included, for example, single-linked lists, hash table containers, and
"ropes" (really long strings). Even though they didn't make it into
the C++ standard, gcc's implementation of the STL, which is based upon
SGI's implementation of the STL, includes them, but puts them in the
__gnu_cxx namespace instead of the std namespace to indicate they are
not standard. You can find additional information on the gcc.gnu.org
website.
Which headers are you inquiring about specifically?
Best regards,
Tom
- Raw text -