I am not expert linux family compiler.
I wonder the static library built with g++/libstdc++ can be used some compiler (clang/g++/gcc) and linked with libstdc++ (as long as I know, the libstdc++ and libc++ is not compatible. so I restrict them to libstdc++)
It is important to library development, to allows whatever user used, can be supported.
and also,
compiled with c++98 / gnu c++98 can be used library - and client structure? how about c++98 / c++11, respectively?
Yes, the libraries will be compatible if you use the same binutils and not use some conflicting compiler flags. The compatibility also doesn't depend on the C standard.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.