Compile EiffelStudio from source code

by Jocelyn-Fiat (modified: 2024 May 31)

To compile EiffelStudio "ec bench"

Get the source code

First you need to checkout the eiffelstudio repository For instance, inside C:\work\eiffelstudio-dev cd C:\work mkdir eiffelstudio-dev cd eiffelstudio-dev git clone trunk.git cd trunk.git

You may use another git repository, according to your studies/research/contribution...

It is recommended to use your own fork from github (or elsewhere)

Setup your environment

set ISE_EIFFEL=path-to-the-local-installation-of-eiffelstudio set ISE_PLATFORM=win64 set ISE_C_COMPILER=msc_vc140 set EIFFEL_SRC=path-to-eiffelstudio-dev\trunk.git\Src set ISE_LIBRARY=%EIFFEL_SRC% set PATH=%PATH%;%ISE_EIFFEL%\studio\spec\%ISE_PLATFORM%\bin set PATH=%PATH%;%ISE_EIFFEL%\tools\spec\%ISE_PLATFORM%\bin set PATH=%PATH%;%ISE_EIFFEL%\library\gobo\spec\%ISE_PLATFORM%\bin

Adapt with your own locations. You can also use mklink /J target source ... to create symbolic links

Compile the "bench" target

cd %EIFFEL_SRC% echo "Compile all C related libraries (use espawn, so you are sure to have C compiler tool in the PATH)" espawn "geant prepare" cd %EIFFEL_SRC%\Eiffel\Ace ec -config ec.ecf -target bench -gui echo Or use "estudio ec.ecf"

For Linux , this is quite similar

# Update the location with your own paths export ISE_EIFFEL=~/work/eiffelstudio-dev/Eiffel_23.09 export EIFFEL_SRC=~/work/eiffelstudio-dev/trunk/Src export ISE_PLATFORM=linux-x86-64 export ISE_LIBRARY=$EIFFEL_SRC export PATH=$PATH:$ISE_EIFFEL/studio/spec/$ISE_PLATFORM/bin export PATH=$PATH:$ISE_EIFFEL/tools/spec/$ISE_PLATFORM/bin export PATH=$PATH:$ISE_EIFFEL/library/gobo/spec/$ISE_PLATFORM/bin

You may also look at website , especially (it may contain obsolete information)