Installing a C++ compiler
After fulfilling the prerequisites, it is time to install a C++ compiler. This component is required for generating executable binaries from the Bosque source code. It is described in more detail later on in this chapter. By default, Bosque tools expect the Clang compiler on Windows, Linux, and macOS, but if you wish to use a different one, or if you already have a C++ compiler installed on your system, this is also fine. If this is the case, you can skip this section completely and jump straight into the Installing Bosque section.
Important note
If you choose not to use the default Clang compiler, you will have to add the --compiler
option when compiling programs using the exegen
command. It is described at the end of the chapter, in the ExeGen – Ahead-of-time Bosque compilation section.
In order to install the Clang compiler, you should install something called LLVM. This is a collection of components that are used to optimize and generate...