In building the current gcc trunk under fink on MacOS X, I noticed
that 'fink validate' reported...
Error: Libtool file points to fink build dir.
Offending file: /sw/lib/gcc4/lib/libstdc++.la
Offending file: /sw/lib/gcc4/lib/libsupc++.la
which alerted me to the fact that both libstdc++.la and
libsupc++.la seemed to hardcode in the dependency_libs that
reside in the build directory for gcc...
# Libraries that this one depends upon.
dependency_libs=' -L/sw/src/fink.build/gcc4-4.1.99-20060522/darwin_objdir/powerp
c-apple-darwin8/libstdc++-v3/src -L/sw/src/fink.build/gcc4-4.1.99-20060522/darwi
n_objdir/powerpc-apple-darwin8/libstdc++-v3/src/.libs -lm'
Is this problem being seen on other architectures?
Jack