Recent Changes - Search:

Home Page


Main

Downloads
Windows
macOS
Linux (via apt / rpm )
Linux wxWidgets
Release Notes

Wiki
Documentation
FAQ

Build CodeLite
Linux
Windows
macOS

Devs
Debug CodeLite Linux
Building Clang
Build wxWidgets (MSW)
Coding Guidelines
Create a Plugin

AddNewCompiler

Choose the compiler you want

For MinGW on Windows, I strongly recommend installing MinGW GCC 64 bit 7.1.0

If you need clang for Windows, download the latest from here:

Installing the compiler

Once you have selected the compiler you want to use, just follow the installation wizard.

When installing a compiler under Windows, DO NOT INSTALL IT IN A FOLDER WITH A SPACE IN ITS PATH

In case you missed the above warning, here it is again, this time in a different colour:

When installing a compiler under Windows, DO NOT INSTALL IT IN A FOLDER WITH A SPACE IN ITS PATH

Telling CodeLite about your new compiler

CodeLite has a built-in set of Compiler detectors that can locate many of the MinGW and clang versions out there.

Adding an existing compiler (automatic detection)

After your compiler has been installed, you need to trigger the compiler detection mechanism in CodeLite like this:

  • From the main menu bar, go to: settings->build settings->compilers->add compiler button->scan computer for installed compilers

Adding an existing compiler (manual)

If CodeLite was able to add your compiler automatically by following the steps in the previous section, you can skip this section.

  • From the main menu bar, go to: settings->build settings->compilers->add compiler button->add an existing compiler
  • In the dir selection dialog that pops up, select the folder where you installed your compiler
  • Click OK and this time CodeLite will be able to detect your compiler

Using the new compiler

To use your shiny new compiler, you need to select it in the project settings:

  • Open your project settings->common settings->general->compiler and select your new compiler from the list
  • Click OK and rebuild your project

That's it.

Edit - History - Print - Recent Changes - Search
Page last modified on July 22, 2018, at 09:07 PM