libstdc++-static

Latest response

Hello.

On other distros, i've used the libstdc++-static package to enable static linking in g++ (g++ ... -static-libstdc++ ...), but on RHEL7 I get the error: "cannot find -lstdc++", and the package mentioned doesn't exist.
Any ideas on how to solve this?

Responses

libstdc++-static is available from the rhel-7-server-optional-rpms repository.

many thanks!