Files
eiffel-org/documentation/18.01/eiffelstudio/eiffelstudio-reference/compiler/supported-c-compilers.wiki
2018-04-06 14:19:16 +00:00

51 lines
1.9 KiB
Plaintext

[[Property:title|Supported C compilers]]
[[Property:weight|-14]]
[[Property:uuid|4d4a70fa-b6da-cecb-83e0-dcc18d6ed54a]]
==Unix/Linux Users:==
EiffelStudio supports `gcc` on most platforms and the native `cc` compiler if it is an ANSI C compiler.
==Microsoft Windows Users==
EiffelStudio supports Microsoft and MinGW compilers on Microsoft Windows.
===Microsoft Visual C++ Users===
EiffelStudio supports versions 12.0 and higher of the Microsoft Visual Studio C++ environment. This is available in Visual Studio 2010 or higher revision, or in version of the Windows SDK 7.1 or higher.
EiffelStudio will automatically detect the location of the C compiler.
By default the installation program will set in the registry keys the <code lang="text">ISE_C_COMPILER</code> key to `msc` (for versions 13.0 and below) or `msc_vc140` (for Visual Studio C++ 2015 and later.)
===MinGW Users===
By default the installation program will set in the registry keys the <code lang="text">ISE_C_COMPILER</code> key to `mingw`.
In versions as late as 6.6, there is a [[EiffelCOM Wizard Guided Tour|restriction]] that prevents the use of EiffelCOM with the MinGW compiler.
===Changing your C compiler on Windows===
You can do it in either of two different ways.
You can manually edit the registry key <code lang="text">HKLM\Software\ISE\EiffelNN</code> and change the value of the <code lang="text">ISE_C_COMPILER</code> string key to either `msc` (`msc_vc140`) or `mingw` depending upon the effect you desire.
Alternatively, you can set the environment variable <code lang="text">ISE_C_COMPILER</code> to either `msc` (`msc_vc140`) or `mingw`.
{| style="width: auto; margin: 0 auto;"
|+ Reference information about supported C compilers on Windows
! Compiler
! Value of <code lang="text">ISE_C_COMPILER</code>
|-
| MinGW
| `mingw`
|-
| Microsoft Visual Studio C++ 2015
| `msc_vc140`
|-
| Microsoft Visual Studio C++ 2017
| `msc_vc140`
|-
|}