Programming Languages on Power

Power Programming Languages

IBM Power, including the AIX, IBM i, and Linux operating systems, support a wide range of programming languages, catering to both traditional enterprise applications and modern development needs.


#Power


#Servers
#Programminglanguages
 View Only
  • 1.  C++11 and xlC++/AIX

    Posted 07/25/18 05:16 AM

    Originally posted by: vadimka


    Will we ever see full C++11 (or C++14, it is 2018 after all!) support in xlC++ for AIX? 


    #Ask-Question-Here--General-Compiler-Q-and-A
    #C/C++andFortran


  • 2.  Re: C++11 and xlC++/AIX

    Posted 08/01/18 05:43 PM

    Originally posted by: Nicole Trudeau


    Hi Vadimka,

     

    Please see our other forum entry, which has more information about our language support strategy. At this time, our latest version of XL C/C++ for AIX (V13.1.3) has support for select features of C++11 and does not support C++14 or C++17.
     
    We welcome you to join our XL C/C++ for AIX beta program to get access to more recent language standards. Please apply by emailing xl-beta-join@ca.ibm.com. Kindly leave your name, company (if any), and email address.

     

    Thanks,

    Nicole


    #Ask-Question-Here--General-Compiler-Q-and-A
    #C/C++andFortran


  • 3.  Re: C++11 and xlC++/AIX

    Posted 08/02/18 04:30 AM

    Originally posted by: vadimka


    I cannot imagine us shipping a production application (on AIX!!!) to customers using a beta compiler release.

     


    #Ask-Question-Here--General-Compiler-Q-and-A
    #C/C++andFortran


  • 4.  Re: C++11 and xlC++/AIX

    Posted 11/09/18 05:43 PM

    Originally posted by: John Parke


    When will xlc compiler for AIX support more of the C++11 standard? Can't use boost either. 

    Hard to develop software with outdated compiler.

     


    #Ask-Question-Here--General-Compiler-Q-and-A
    #C/C++andFortran


  • 5.  Re: C++11 and xlC++/AIX

    Posted 11/12/18 05:00 PM

    Originally posted by: Nicole Trudeau


    Hi John,

     

    Better support for C++11 and C++14 is underway and available in the beta. I welcome you to join the XL C/C++ for AIX beta program to get access to that support. Please apply by emailing xl-beta-join@ca.ibm.com. Kindly leave your name, company (if any), and email address.

     

    Thanks,

    Nicole


    #C/C++andFortran
    #Ask-Question-Here--General-Compiler-Q-and-A


  • 6.  Re: C++11 and xlC++/AIX

    Posted 11/14/18 07:54 AM

    Originally posted by: John Parke


    I emailed them my information. Hopefully they will reply. Thanks for taking the time to respond. John


    #C/C++andFortran
    #Ask-Question-Here--General-Compiler-Q-and-A


  • 7.  Re: C++11 and xlC++/AIX

    Posted 12/17/18 12:48 PM

    Originally posted by: Nicole Trudeau


    @John Parke 45ea214f-8334-4988-8c53-4c3f1bb02cb4 @vadimka 56dc6a87-05bc-40fa-b3fe-65f8a64bc4a9 IBM just released XL C/C++ for AIX V16.1, which fully supports C++11 and C++14.


    #Ask-Question-Here--General-Compiler-Q-and-A
    #C/C++andFortran


  • 8.  Re: C++11 and xlC++/AIX

    Posted 02/05/19 06:46 PM

    Originally posted by: JohnParke


    If I compile code with the XL C/C++ for AIX V16.1 compiler, will it run at a customer's site? Is an associated run-time library needed? Do the customer need to have a particular run-time library installed?

     

    Thanks,

    John Parke <john.parke@alebra.com>

     

     

     


    #Ask-Question-Here--General-Compiler-Q-and-A
    #C/C++andFortran


  • 9.  Re: C++11 and xlC++/AIX

    Posted 02/06/19 11:24 AM

    Originally posted by: JohnParke


    I see that the IBM XL C/C++ Runtime for AIX 16.1 has a prerequisite of at least IBM AIX V7.1 TL4.

    We have quite a few customers still on V6.

    Is there any chance that the rtl will be made available for earlier releases?

     

    John Parke

    john.parke@alebra.com


    #Ask-Question-Here--General-Compiler-Q-and-A
    #C/C++andFortran


  • 10.  Re: C++11 and xlC++/AIX

    Posted 02/06/19 02:26 PM

    Originally posted by: Nicole Trudeau


    Hi John,

    If you wish for your clients to run an application developed using the IBM XL C/C++ for AIX, V16.1 compiler, but your clients do not have the corresponding version of compiler or runtime already installed, then they need to install the Runtime Environment package. The standalone XL C++ runtime package for 16.1.0.1 can be obtained from techdoc 7038948: Fix list for XL C/C++ Runtime for AIX

    You're correct that IBM XL C/C++ Runtime for AIX 16.1 has a prerequisite of at least IBM AIX V7.1 TL4. Our newer compilers do not support AIX 6.1 as this version of the OS has reached its end of service date in 2017.

    Downward compatibility to AIX versions lower than the system that the application was built on is not supported. An application built on an AIX 7.1 system with xlC.rte VRMF 16.1.0.1 is supported on an AIX 7.1 system with the xlC.rte VRMF 16.1.0.1 (or later) runtime environment installed, but is not supported on an AIX 6.1 system, and is also not supported on any AIX version if the xlC.rte VRMF is lower than 16.1.0.1. Applications built on an AIX version might run on a lower AIX version; however, note that IBM does not warrant or support applications built on an AIX version that are run on a lower AIX version. See more details on Knowledge Center.

    I know this is not the answer you wanted to hear. Please encourage your clients to move up to AIX 7.1. Also, libc++ is not deployed with the OS at this time.  If you are compiling with the xlclang++ invocation, please plan on providing libc++ in your packaging too.

    Regards,

    Nicole


    #Ask-Question-Here--General-Compiler-Q-and-A
    #C/C++andFortran


  • 11.  Re: C++11 and xlC++/AIX

    Posted 02/06/19 02:57 PM

    Originally posted by: jrheath


    Please note that the dependency on libc++ is only if your C++ application is compiled with xlclang.  You should be able to deploy C++ applications built with xlC without having to ship a separate runtime.  We're working to simplify your C++ deployments, this is definitely on our radar.  However, we don't have a timeline just yet.

    Regards,

    Jeff


    #C/C++andFortran
    #Ask-Question-Here--General-Compiler-Q-and-A