linking with libs built on older gcc version

saurabhjain saurabh.jain2@morganstanley.com
Wed May 8 17:09:00 GMT 2013


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.



More information about the Gcc-help mailing list