Support for database application development in C

Application development for Db2® databases is supported on a range of C language compilers.

The following table lists C compilers that are supported for Db2 database application development.

Unless otherwise noted, compilers that are listed in the table have the following extra support:
  • 32-bit and 64-bit application development.
  • Newer level of compilers than the listed.
Table 1. Supported C compilers
Operating System Supported Compiler(s)
AIX®
  • IBM® XL C/C++ Enterprise Edition Version 11.1 for AIX
  • IBM XL C/C++ Enterprise Edition Version 12.1 for AIX
  • IBM® XL C/C++ Enterprise Edition Version 13.1 for AIX
Linux® on x86
  • GNU/Linux gcc versions 4.3
  • Intel C Compiler Version 13.1
  • Intel C Compiler Version 16.1
Linux on x64
  • GNU/Linux gcc versions 4.3
  • Intel C/C++ Compiler Version 13.0
  • Intel C/C++ Compiler Version 16.0
Linux on POWER® (PowerPC®, Power Systems Servers, IBM Power Systems)
  • GNU/Linux gcc versions 4.8
  • IBM XL C/C++ Advanced Edition Version 13.1 for Linux
Linux on System z® (s/390x)
  • GNU/Linux gcc versions 4.8
  • IBM XL C/C++ for zLinux1.1
Solaris on UltraSPARC
  • Sun Studio 10
  • Sun Studio 11
  • Sun Studio 12
  • Forte C++ Version 6.2
  • Sun ONE Studio 7, Compiler Collection
Windows on x86
  • Intel Proton Compiler for Windows 32-bit applications, Version 13.1
  • Intel C Compiler Version 16.1
  • Microsoft Visual C++ 2010, 2012, 2013
Windows on x64 (x64, AMD64/EM64T)
  • Intel Proton Compiler for Windows 32-bit applications, Version 13.1
  • Intel C Compiler Version 16.1
  • Microsoft Visual C++ 2008, 2010