Compilation and Use

Understand the compilation of modules using different compilers.

To compile the module math.ixx used by the client program client.cpp, you have to use a very recent Clang, GCC, or Microsoft compiler.

The compilation of a module is challenging. For that reason, I show as an example the compilation of the module with the Microsoft compiler and the Clang compiler.

Microsoft Visual compiler

First, I use the cl.exe 19.25.28614 for the x64 compiler.

Get hands-on with 1400+ tech skills courses.