This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
linking with libs built on older gcc version
- From: saurabhjain <saurabh dot jain2 at morganstanley dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Wed, 8 May 2013 10:09:54 -0700 (PDT)
- Subject: linking with libs built on older gcc version
Hi I am trying to link my test code on gcc 4.4.4 on RHEL6
(x86_64.linux.2.6.glibc.2.12). But I am using libraries that were built
using the older version gcc 34 (x86_64.linux.2.6.glibc.2.3).
Now my gmake command is spitting numerous 'undefined reference to
XYZDate::PeriodDayCount' errors.
Pardon my ignorance if there is an easy solution. Is there a way to allow
gcc to link to old libraries with the new code on a more recent platform and
compiler version?
--
View this message in context: http://gcc.1065356.n5.nabble.com/linking-with-libs-built-on-older-gcc-version-tp936667.html
Sent from the gcc - Help mailing list archive at Nabble.com.