Files
eiffel-org/documentation/current/eiffelstudio/eiffelstudio-reference/compiler/supported-c-compilers.wiki
jfiat 2496e057f5 Author:jfiat
Date:2010-11-02T16:49:23.000000Z


git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@694 abb3cda0-5349-4a8f-a601-0c33ac3a8c38
2010-11-02 16:49:23 +00:00

42 lines
1.6 KiB
Plaintext

[[Property:title|Supported C compilers]]
[[Property:weight|-14]]
[[Property:uuid|4d4a70fa-b6da-cecb-83e0-dcc18d6ed54a]]
{{UpdateNeeded}}
==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 only version 14.0 and higher of the Microsoft Visual C++ environment (i.e. Visual Studio 2005 or higher).
Normally it will automatically detect the location of the C compiler. In case it wouldn't, make sure that the Microsoft tools are correctly setup to run from the MS-DOS prompt. To do that you need to set the environment variable PATH, LIB and INCLUDE to the value specified in the file`vcvars32.bat' from the `bin' directory of the VC installation.
By default the installation program will set in the registry keys the ISE_C_COMPILER key to `msc'.
===MinGW Users:===
By default the installation program will set in the registry keys the ISE_C_COMPILER 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 HKLM\Software\ISE\Eiffel''nn'' and change the value of the ISE_C_COMPILER string key to either `msc' or `mingw' depending upon the effect you desire.
Alternatively, you can set the environment variable ISE_C_COMPILER to either `msc' or `mingw'.