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 12.1 and up for AIX
  • GNU/Linux gcc versions 4.8.5 and above
Linux® on x86
  • GNU/Linux gcc versions 4.8 and above
  • Intel C/C++ Compiler Version 16.0 and up
Linux on x64
  • GNU/Linux gcc versions 4.8 and above
  • Intel C/C++ Compiler Version 16.0 and up
Linux on POWER® (PowerPC®, Power Systems Servers, IBM® Power Systems)
  • GNU/Linux gcc versions 4.8 and above
  • IBM XLC/C++ Enterprise Edition Version 13.1 and up
Linux on System z® (s/390x)
  • GNU/Linux gcc versions 4.8 and up
Windows on x86
  • Intel C Compiler Version 16.1 and up
  • Microsoft®Visual C++ 2012 and up
Windows on x64 (x64, AMD64/EM64T)
  • Intel C Compiler Version 16.1 and up
  • Microsoft®Visual C++ 2012 and up
Mac OS DS DRIVER Only
  • Intel C Compiler Version 16.1 and up