Re: which set of C++ headers?
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=rRKu2pfpfTYjD0MX8JZx7rKRR9Pmh+GDPNhjRvMPOkY=; b=btptoCOb/gK+9w0aar4gsDTVFLIB7jr9P2ezjQSNFHO+RKKHoQz4hZd2afrGvNcEcr mKPJ4MNmw0dbsESt4/ghtZl/0WGskGePdqFwtaSuWDBB4LjOuTraOrwsy7XwaOEfTUNb LjCf3EzS02vNmaxQf0Wst60R9iwePQgbCboZU= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=B2LzcLslEka2J4/HCUiRjWIWfsvX+cLYG70lY4sV3sJ4gnzTH2VYC3RsYiLlvJC9tK vzKp+WfCWq7j8QMm15oIfuSeaauYiLIDoxF9l/2LhGJwRdw6LdgaAW9eTNRGieGe/t6k Vz3N1Rt7JGg6G1yLOrS2761sup1CEUAiaZ8KA= On Wed, Jun 25, 2008 at 6:57 PM, Alexander Agranovsky <alex@voxeo.com> wrote:
On Jun 25, 2008, at 8:56 PM, Clark Cox wrote:
On Wed, Jun 25, 2008 at 3:17 PM, Alexander Agranovsky <alex@voxeo.com> wrote:
Hi all,
OSX 10.5 SDK seems to include two STL implementations -- one in /Developer/SDKs/MacOSX10.5.sdk/usr/include/gcc/darwin/3.3/c++/, another one in /Developer/SDKs/MacOSX10.5.sdk/usr/include/c++/4.0.0/.
They seem to be vastly different. So my questions are: - which one is supposed to be used?
You use whichever corresponds to the compiler that you're using
- what controls which one is picked?
The compiler chooses (i.e. you shouldn't have to worry about it)
Thanks! I figured that could be the case, but couldn't find any trace of presence of gcc/g++ 3.3 on the system.
GCC 3 is an optional install.
BTW, any idea why they're not installed as part of the toolkit, while the headers are?
That's just the way they're packaged. GCC 3 is installed in /usr/bin, while GCC 4 and later is installed in <your developer dir>/usr/bin. If the user decides to install GCC 3 later, there is no way to know *which* developer directory (remember, there can be multiple) to install the headers into. It simplifies things if the headers are installed unconditionally. -- Clark S. Cox III clarkcox3@gmail.com _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com
participants (1)
-
Clark Cox