Linking objects between WorkShop 4.2 and 5.0
We are currently using WorkShop 4.2 on our Solaris 2.6 machine, but planning to upgrade to WorkShop 5.0. We have many 3rd party libraries compiled by WorkShop 4.2 and no new version is available. Can we build our binaries using some objects built by 4.2 compiler and some from 5.0 compiler ?
[305 byte] By [
jipm] at [2007-11-25 23:41:03]

# 1
I have the same problem, and it looks like it doesn't work. Check out http://docs.sun.com/ab2/coll.32.5/CPPMIGRATE/@Ab2PageView/1210?Ab2Lang=C&Ab 2Enc=iso-8859-1.
in short:
Mixing Old and New Binaries
It is an overstatement to say that object files and libraries compiled by the 4.2 compiler cannot be linked with object files and libraries compiled by the 5.0 compiler. The statement is true whenever the files and libraries present a C++ interface.
jipm at 2007-7-5 18:48:46 >
