Can GCC / ld selects the version of GLIBCXX from libstdc++.so.6

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Is there a flag in GCC or ld to select a version of GLIBCXX from libstdc++.so.6?

I've compiled a program in FC9, but could not run in CenOS 5.2 with
following error:

version `GLIBXX .3.4.9' not found

In CentOS, the GLIBCXX ohly have versions up to GLIBCXX_3.4.8.

In FC9, I found:

$ strings libstdc++.so.6 | grep GLIBCXX
GLIBCXX_3.4
GLIBCXX_3.4.1
GLIBCXX_3.4.2
GLIBCXX_3.4.3
GLIBCXX_3.4.4
GLIBCXX_3.4.5
GLIBCXX_3.4.6
GLIBCXX_3.4.7
GLIBCXX_3.4.8
GLIBCXX_3.4.9
GLIBCXX_3.4.10
GLIBCXX_FORCE_NEW
GLIBCXX_DEBUG_MESSAGE_LENGTH

I thought, if I can force compiler in FC9 to use old version of
GLIBCXX_3.4.8, the problem should be resolved. Please advice.

Thank you.

Kind Regards,

Sean

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux