On 25 October 2012 02:12, Perry Smith wrote: > > This also changes a previous statement I made: while I did build 4.5.2 on a > different level of AIX, it was a 6.1 level and has the same LD_LIBRARY_PATH > feature. Thus, something has changed in the build process of gcc to include > LD_LIBRARY_PATH into the environment before calling xgcc since 4.5.2 was > released. At least, that is my current theory.
I assume the difference is that 4.5.2 wasn't built with the C++ compiler so didn't need libstdc++.so, so it's not a problem if the wrong libstdc++.so is in your LD_LIBRARY_PATH, because it's not used anyway.