Interactive
Software Engineering
C Compilers

[ISE Home] Home ] Release Notes ] Technology Papers ] Installation Notes ] About Eiffel ]


Unix/Linux Users:

ISE EiffelBench supports `gcc' on most of platforms and the native `cc' compiler if it is an ANSI C compiler.

 

Microsoft Visual C++ Users:

ISE EiffelBench supports only version 5.0 or higher of the Microsoft Visual C++ environment. You can still use older version of the Microsoft C++ environment (version 4.1 and 4.2), but this won't be supported by ISE.

Make sure that the Microsoft tools are correctly setup to run from the MS-DOS prompt:

  • On Windows NT, the installation of VC++ should do it automatically.
  • On Windows 95/98, you need to copy the content of the file `vcvars32.bat' from the `bin' directory of the VC installation into your autoexec.bat and to reboot your machine so that changes are taken into consideration.

By default the installation program will set in the registry keys the COMPILER key to `msc'. 

 

Borland C++ Users:

ISE EiffelBench only supports version 4.52 and higher of Borland C++. In order to make the Borland tools work with the ISE EiffelBench environment, make sure that you properly installed Borland C++ and that the C compiler tools are available from the command line (check with the installation notes of Borland C++ on how to do so).

In addition you need to define the environment variable EIF_BORLAND to denote the LIB subdirectory of your Borland installation, for example:

If you installed Borland C++ at this location: D:\BC5
Then you should set EIF_BORLAND to D:\BC5\LIB 

By default the installation program will set in the registry keys the COMPILER key to `bcc'.

 

Borland C++ Builder Users:

In the delivery of ISE EiffelBench you will find all the needed files to support Borland C++ Builder 4.0 or higher. C++ Builder is, however, not a supported environment because of what appears to be a bug in the Borland C++ Builder delivery. We are sorry about this issue and awaiting an answer from Borland/Inprise as to how long it will take to fix the problem.

In the meantime, we recommend that you either upgrade to Microsoft Visual C++ 6.0 or downgrade to Borland C++ 4.52 or higher.

See below to learn how to change the COMPILER key to use Borland C++ Builder.

 

Cygwin Users:

In the delivery of ISE EiffelBench you will find all the needed files to support the GNU gcc port for Windows. However, ISE does not support it because of what appears to be a bug in the cygwin delivery with the bin utils. We are sorry about this issue and awaiting for a fix from the GNU community.

In the meantime, we recommend that you choose Microsoft Visual C++ 6.0 or Borland C++ 4.52 or higher.

See below to learn how to change the COMPILER key to use GCC.

 

Changing your C compiler on Windows

Simply creates a `compiler.reg' file with the following content: 

REGEDIT4

[HKEY_CURRENT_USER\Software\ISE\Eiffel45]

[HKEY_CURRENT_USER\Software\ISE\Eiffel45\es4]
"COMPILER"="msc"

[HKEY_CURRENT_USER\Software\ISE\Eiffel45\finish_freezing]
"COMPILER"="msc"

Where you replaced "msc" by either:

  • bcc for Borland C++
  • bcb for Borland C++ Builder
  • gnu for GCC
  • msc for Microsoft Visual C++

Then double click on the file and everything will be ready to use your new C compiler.