Boost logo

Boost :

Subject: Re: [boost] [tr1] Help needed with Darwin port
From: Stuart A. Malone (samalone_at_[hidden])
Date: 2009-01-13 09:50:48

On Jan 13, 2009, at 7:56 AM, John Maddock wrote:

> Can someone with access to various flavours of gcc-4.x on Darwin let
> me know what directory the glibc++ std lib headers are in?

I only know about vanilla Mac OS X with Apple's developer tools, but I
just ran some checks on several systems that have developer tools

On Leopard (Darwin 9.6.0) Apple supports both gcc 4.0 and 4.2. Both
compilers use the same stdc++ libraries with the same headers. The
headers seem to be in /usr/include/c++/4.0.0:

        $ find /usr/include -name iostream

The location of these headers seems to remain the same across the SDKs
for Panther, Tiger, Leopard and all versions of the iPhone OS, so I
would expect that path to be accurate for any version of Darwin up to
9.6.0 that supports gcc 4.x.

In Snow Leopard (Darwin 10.0.0) the situation seems somewhat
different, as there are separate headers for gcc 4.0 and 4.2:

        $ find /usr/include -name iostream

I hope this helps. Please let me know if I can provide additional

Best wishes,


Boost list run by bdawes at, gregod at, cpdaniel at, john at