mirror of
https://github.com/EiffelSoftware/eiffel-org.git
synced 2025-12-07 23:32:42 +01:00
git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@2152 abb3cda0-5349-4a8f-a601-0c33ac3a8c38
59 lines
2.1 KiB
Plaintext
59 lines
2.1 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 10.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 12.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++ 2010 (v10.0)
|
|
| `msc`
|
|
|-
|
|
| Microsoft Visual Studio C++ 2012 (v11.0)
|
|
| `msc`
|
|
|-
|
|
| Microsoft Visual Studio C++ 2013 (v12.0)
|
|
| `msc`
|
|
|-
|
|
| Microsoft Visual Studio C++ 2015 (v14.0)
|
|
| `msc_vc140`
|
|
|-
|
|
| Microsoft Visual Studio C++ 2017 (v15.0)
|
|
| `msc_vc140`
|
|
|-
|
|
|}
|