Topic
  • No replies
vincent
vincent
1 Post

Pinned topic Should runtime version match compiler version ?

‏2010-01-14T09:38:04Z |

Hello experts, ;-)
On our develpoment system I've noticed a strange setup : we have the XL compiler 7 installed and runtime of 10. Is it a problem ?
extract of `lslpp -L '*' | grep XL`
========================================================
vac.C 7.0.0.14 A F IBM XL C Compiler
vac.C.readme.ibm 7.0.0.0 C F IBM XL C iFOR/LS Information
vac.aix50.lib 7.0.0.12 A F IBM XL C Compiler Libraries
vac.lib 7.0.0.0 C F IBM XL C Compiler Libraries
vac.lic 7.0.0.0 C F IBM XL C Licence Files
vac.ndi 7.0.0.13 A F IBM XL C Non-Default
vacpp.cmp.aix50.lib 7.0.0.8 A F IBM XL C/C++ Libraries for AIX
vacpp.cmp.aix50.tools 7.0.0.0 C F IBM XL C/C++ Tools for AIX 5.0
vacpp.cmp.core 7.0.0.14 A F IBM XL C/C++ Compiler
vacpp.cmp.include 7.0.0.11 A F IBM XL C/C++ Compiler Include
vacpp.cmp.lib 7.0.0.0 C F IBM XL C/C++ Libraries
vacpp.cmp.rte 7.0.0.0 C F IBM XL C/C++ Compiler
vacpp.cmp.tools 7.0.0.11 A F IBM XL C/C++ Tools
vacpp.html.common 7.0.0.0 C F IBM XL C/C++ Documentation
vacpp.memdbg.aix50.lib 7.0.0.6 A F IBM XL C/C++ User Heap/Memory
vacpp.memdbg.aix50.rte 7.0.0.6 A F IBM XL C/C++ User Heap/Memory
vacpp.memdbg.lib 7.0.0.0 C F IBM XL C/C++ User Heap and
vacpp.memdbg.rte 7.0.0.0 C F IBM XL C/C++ User Heap and
vacpp.samples.ansicl 7.0.0.0 C F IBM XL C/C++ Compiler ANSI
xlC.aix50.rte 10.1.0.0 C F XL C/C++ Runtime for AIX 5.3
xlC.rte 10.1.0.0 C F XL C/C++ Runtime
...
========================================================
I would recommend to upgrade the compiler to the 10 version. Is there any problem to be expected if we upgrade to version 10 ? Does anybody have any experience in such upgrade ?
Thanks for your help ;-)
Updated on 2010-01-28T14:51:38Z at 2010-01-28T14:51:38Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    196 Posts

    Re: Should runtime version match compiler version ?

    ‏2010-01-15T19:22:10Z  
    The C++ runtime is fully backward compatible with older versions of the C++ compiler. This is necessary because the runtime is dynamically linked, so a single runtime must support applications compiled with different compiler versions that coexist on your system.

    The AIX operating system includes a recent version of the C++ runtime, and that is likely how you got the version you have installed. You can always download the latest version of the XL C++ runtime free from ibm.com (click "Support downloads" at http://www-01.ibm.com/software/awdtools/xlcpp/aix/), or let it be upgraded as you install AIX maintenance levels.

    Of course, we always recommend our customers to upgrade to the latest available compiler. A better reason for doing so in your situation is that XLC V7 has gone out of service, so IBM will stop providing fixes for that product (for details see here: http://www-111.ibm.com/software/support/lifecycle/PLCDetail.wss?synkey=O544334T11167U30-B543715M90646C74-O451547B55846E36). If you do decide to upgrade, please let us know of your experience with the upgrade process; we're always looking for feedback on our installation/upgrade processes.

    Happy compiling,
    Updated on 2010-01-15T19:22:10Z at 2010-01-15T19:22:10Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    196 Posts

    Re: Should runtime version match compiler version ?

    ‏2010-01-28T14:51:38Z  
    The C++ runtime is fully backward compatible with older versions of the C++ compiler. This is necessary because the runtime is dynamically linked, so a single runtime must support applications compiled with different compiler versions that coexist on your system.

    The AIX operating system includes a recent version of the C++ runtime, and that is likely how you got the version you have installed. You can always download the latest version of the XL C++ runtime free from ibm.com (click "Support downloads" at http://www-01.ibm.com/software/awdtools/xlcpp/aix/), or let it be upgraded as you install AIX maintenance levels.

    Of course, we always recommend our customers to upgrade to the latest available compiler. A better reason for doing so in your situation is that XLC V7 has gone out of service, so IBM will stop providing fixes for that product (for details see here: http://www-111.ibm.com/software/support/lifecycle/PLCDetail.wss?synkey=O544334T11167U30-B543715M90646C74-O451547B55846E36). If you do decide to upgrade, please let us know of your experience with the upgrade process; we're always looking for feedback on our installation/upgrade processes.

    Happy compiling,

    Thanks for your reply. We will install the latest compiler as you suggested. I will keep you informed of our experience.
    Besides, I tried since days to reply using my account to this post but it failed (I tried with different browsers on different hardware) . I cannot find any email support to report this login problem.
    Thanks.