Hi. I'm using GCC 4.4.7 to compile GCC 4.9.2. I've compiled a new glibc for use with the new GCC, and using its dynamic linker means that /usr/lib64 is not in the search path, so it's not able to find libstdc++ at run time (compile time is fine). I'd like to compile the build executables (like the gen* programs) to statically link libstdc++. GCC 4.4 unfortunately doesn't have `-static-libstdc++`, which would make this easy. I tried to set `LDFLAGS=-Wl,-Bstatic,-lstdc++`, but that doesn't work because the linker is $CXX not $CC, and so links dynamically against libstdc++ anyway. Next I tried adding `-nodefaultlibs` like so `LDFLAGS=-nodefaultlibs -Wl,-Bstatic,-lstdc++,-Bdynamic`. For that to work, I need to add `-lc` to to `LIBS` Adding it to `LDFLAGS` does not work, because it must appear at the end of the link command. The Makefile rule that builds the gen* programs does have `LDFLAGS_FOR_BUILD`, but it does *not* have `LIBS_FOR_BUILD`. Should ./configure honour LIBS in addition to LDFLAGS? Thanks, Shaun http://sjackman.ca