However, if I compile that same example using the g++ compiler instead of gcc - making only the minor code changes needed and using all the same compiler parameters and flags, it doesn't run at all.
Does anyone have C++ running on the ESP8266? Is there some vital library or flag I might be missing?