>> I don't think you need to statically link in the runtime libraries. >> $(CXXLINK) should be fine here. > > It is the other way, I need libstdc++ to be shared for the test to > fail on master, and: Sorry, that's what I meant. The test failed for me with CXXLINK, but now I see that my GCC doesn't pass -static-libstdc++ to the linker. This is OK. -cary