Brahim
Brahim

Reputation: 838

two static libraries that use different libstdc++ versions

I am working on a project where we use an old version of libstdc++. I have just introduced a new library statically linked, that requires a newer version of the libstdc++. I have installed both versions of libstdc++ installed. Is there a way to compile my program with gcc and the new library?

Upvotes: 4

Views: 207

Answers (1)

Julien Lopez
Julien Lopez

Reputation: 1844

Compile with the newer version of libstdc++ as this library is forward compatible.

Upvotes: 4

Related Questions