Developing for iPhone with some C++ code? Suddenly getting this error after installing a beta SDK?
/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.1.2.sdk/usr/include/c++/4.2.1/bits/stl_algobase.h:65:0 Bits/c++config.h: No such file or directory in /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.1.2.sdk/usr/include/c++/4.2.1/bits/stl_algobase.h
Note the bolded folder. Change into it and make a symlink from arm-apple-darwin9 to arm-apple-darwin10. Please note that Apple has fixed this already at one upgrade of beta SDK (I had this error before too, but I still didn't get 4.0 beta 2 so I didn't check) so it's reasonable to assume they will do this again.
ln -s arm-apple-darwin9 arm-apple-darwin10
PS I don't think posting this violates any NDA. Especially since origin for this solution is also public.