Site icon Embarcadero RAD Studio, Delphi, & C++Builder Blogs

How to Check The C++ Compiler Version On Windows

cpplogo and background1

A C or C++ Compiler is a computer program that converts the text of a program’s code into an executable program. How can we check the version of the C++ compiler we are using on our Windows computer? Let’s take a look at a few different ways to do it.

How can I check the C++ compiler version with the RAD Studio command prompt?

RAD Studio powers C++ Builder which supports various CLANG standards and has its own C++ Compiler, IDE, GUI Designer, and more tools for professional development. If you have installed RAD Studio or C++ Builder, you can take the following steps to check the C++ compiler version.

  1. Press the Windows key or Start menu on the toolbar

2. Type RAD to find RAD Studio tools.

3. Run RAD Studio Command Prompt

4. This will open Command Prompt with RAD Studio settings in “C:Program Files (x86)Embarcadero Studio22.0bin” directory (the ’22’ can change depending on the version you have installed.) In this directory, there are different compilers, as listed below.

Here are the C++ compiler binaries included in RAD Studio, C++ Builder.

5. You can check versions of these compilers by typing their executable names as shown below.

[crayon-662d50f971730090136714/]

How can I check the compiler version within the command console?

  1. Press windows key or Start menu on the toolbar
  2. Write “Command” and run “Command Prompt”
  3. In Command Console, type “cd C:Program Files (x86)EmbarcaderoStudio“.
  4. Type “dir”, You should see versions of RAD Studio, i.e. 22
  5. Goto this folder and bin directory inside by using cd command, i.e. “cd 22.0bin

Here are the C++ compiler binaries included in RAD Studio, C++ Builder.

6. You can check versions of these compilers by typing their executable names only as given example below

[crayon-662d50f971739715655628/]

How can I check the IDE version in RAD Studio?

If you want to know the version of the C++ Builder IDE follow these steps.

  1. Run/launch RAD Studio or C++ Builder.
  2. Goto Help menu, choose About Embarcadero RAD Studio as below

This will show you version of the IDE as shown below.

How can I check the library versions used in RAD Studio?

Sometimes it’s helpful to know the versions of the libraries being used in RAD Studio and C++ Builder. You can display the name and version information of each library like so.

  1. Run/launch RAD Studio or C++ Builder
  2. Goto Help menu, choose About Embarcadero RAD Studio as below

This will show you version of the IDE about window. For more details of each library versions, you can click the Version Info section.

You can download the free C++ Builder Community Edition here: https://www.embarcadero.com/products/cbuilder/starter.
Professional developers can use the Professional, Architect or Enterprise versions of C++ Builder. Please visit https://www.embarcadero.com/products/cbuilder.

See What’s New in RAD Studio 11

Download RAD Studio 11 Now

Exit mobile version