Compile gcc-4.6.2 with --prefix=/usr/local/gcc462/
Copy libstdc++.so.6.0.16 to /usr/lib64/
Create a new symlink libstdc++.so.6 to libstdc++.so.6.0.16
Or
Download .deb from this location and grab libstdc++.so.6.0.16 from the package. To unpack the package use command: ar -x <package> && tar xvf data.tar.gz
Thnks for reply, my gcc version is 4.6.2.but when i type this command in my terminal is strings /opt/quartus/linux/libstdc++.so.6/ grep | GLIBC, the output is GLIBCXX_3.4 to GLIBCXX is 3.4.9 only but gcc is 4.6.2.How to compile gcc-4.6.2 wit --prefix=/usr/local/gcc462.kindly tel me sir. – alexOct 15 '12 at 9:00