Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

The latest version of gcc to use libstdc++.so.5

Tags:

c++

gcc

libstdc++

What is the latest version of gcc that still uses libstdc++.so.5 (as opposed to libstdc++.so.6)?

like image 563
Moe Avatar asked Jan 05 '09 19:01

Moe


2 Answers

In the Gnu ABI policy, you can find this:

  • ...
  • gcc-3.3.3: libstdc++.so.5.0.5
  • gcc-3.4.0: libstdc++.so.6.0.0 (Incompatible with previous)
  • ...

So unless they didn't list a version, gcc-3.3.3 is the one you want.

like image 169
Jan Avatar answered Sep 20 '22 11:09

Jan


After searching all over for the answer, and failing to find it. I compiled several different versions and the last version to use libstdc++.so.5 is version 3.3 (more specifically 3.3.6). Version 3.4.X uses libstdc++.so.6.

like image 38
Moe Avatar answered Sep 19 '22 11:09

Moe