### Start the Enterprise Edition registration process Source: https://www.eiffel.org/doc/eiffelstudio/FreeBSD Commands to navigate to the installation directory and execute the registration program. ```bash cd $ISE_EIFFEL ./register ``` -------------------------------- ### Unix shell command to copy example files Source: https://www.eiffel.org/doc/eiffelstudio/Copying_the_Example_Files Copies all files from the EiffelStudio tour examples directory to YOURDIR. Replace $ISE_EIFFEL with the actual installation path if needed. ```shell cp $ISE_EIFFEL/examples/studio/tour/* YOURDIR ``` -------------------------------- ### OpenVMS command to copy example files Source: https://www.eiffel.org/doc/eiffelstudio/Copying_the_Example_Files Copies all files from the EiffelStudio tour examples directory to YOURDIR on OpenVMS. ```shell copy $ISE_EIFFEL:[examples.studio.tour]*.* YOURDIR ``` -------------------------------- ### Run setup procedure Source: https://www.eiffel.org/doc/eiffelstudio/HP_OpenVMS Run the setup procedure to define the environment for EiffelStudio, defining logical names and DCL symbols required to run Eiffel. ```DCL @eiffel_installation_path:[000000]setup ``` -------------------------------- ### Profiler Configuration File example Source: https://www.eiffel.org/doc/eiffelstudio/How_to_set_up_a_Profiler_Configuration_File Complete example of a Profiler Configuration File for EiffelStudio. It specifies the column positions for index, function time, descendent time, number of calls, function name, percentage, and second percentage, plus whether leading underscores are generated. A value of 0 for any xxx_column option means the profiler's files contain no such column; comments start with -- and option order is not significant. ```plaintext number_of_columns: 7 -- Number of columns in the file. index_column: 1 -- Column where the index is stored. function_time_column: 3 -- Column where the time spent in the function is stored. descendent_time_column: 4 -- Column where the time spent in the descendents of a function is stored. number_of_calls_column: 5 -- Column where the number of calls to a function is stored. function_name_column: 6 -- Column where the name of the function is stored. percentage_column: 2 -- Column where the percentage of time spent in the function is stored. second_percentage_column: 0 -- Column where the second percentage of time spent in the function is stored. generates_leading_underscore: no -- Says whether the profiler generates leading underscores (yes) or not (no). ``` -------------------------------- ### Register Enterprise Edition Source: https://www.eiffel.org/doc/eiffelstudio/HP-UX Commands to start the registration process for the Enterprise edition. Requires prior setup of environment variables. ```shell cd $ISE_EIFFEL ./register ``` -------------------------------- ### Install from web using backup and set file/attrib Source: https://www.eiffel.org/doc/eiffelstudio/HP_OpenVMS Commands to install the files into eiffel_installation_path on an ODS-5 volume. The first command sets file attributes, the second restores the save set using backup. ```DCL set file/attrib=(org:seq,rfm:fix,lrl:9216) temp:[dir]eifXXvms.save ``` ```DCL backup temp:[dir]eifXXvms.save/save eiffel_installation_path ``` -------------------------------- ### Install EiffelStudio using MacPorts Source: https://www.eiffel.org/doc/eiffelstudio/Mac_OS_X Installs EiffelStudio via MacPorts from a bash terminal. Requires MacPorts to be installed first. ```bash sudo port install eiffelstudio ``` -------------------------------- ### Check GTK+ version with gtk-config Source: https://www.eiffel.org/doc/eiffelstudio/HP_OpenVMS Run this command to verify GTK+ 1.2.10 or above is installed. The command should succeed and display the version number; if it is below 1.2.10, stop the installation and install GTK+ 1.2.10 first. ```DCL gtk-config --version ``` -------------------------------- ### ec command help output (version 25.02.9.8732) Source: https://www.eiffel.org/doc/eiffelstudio/EiffelStudio-_Using_command_line_options Example output from 'ec -help' showing the full usage and options list for EiffelStudio version 25.02.9.8732 on win64. Use this to understand valid options in different command contexts. ```text ISE EiffelStudio version 25.02.9.8732 - win64 Usage: ec -help | -version | -appinfo name | -full | -batch | -clean | -verbose | -use_settings | -freeze | -finalize [-keep] | -precompile [-finalize [-keep]] | -c_compile | -loop | -debug | -quick_melt | -melt | (-clients | -suppliers | -ancestors | -descendants) [-filter filtername] class | (-flatshort | -flat | -short) [-filter filtername] [-all | -all_and_parents | class] | (-aversions | -dversions | -implementers) [-filter filtername] class feature | -callers [-filter filtername] [-show_all] [-assigners | -creators] class feature | -callees [-filter filtername] [-show_all] [-assignees | -creators] class feature | -filter filtername [-all | class] | -pretty input_filename [output_filename] | -reset_ide_layout | [[-config config.ecf] [-target target] [-config_option option] | [class_file.e [-library library_name]] | -stop | -no_library | -project_path project_directory | -file file | -preference preference_name preference_value | -ca_class (-all | class) | -ca_default | -ca_rule rule | -ca_setting file | -gc_stats] Options: default (no option): quick melt the system. -ancestors: show the ancestors of a class. -appinfo: Output various application information (-appinfo ? to list available informations). -aversions: show the ancestor versions of a feature. -batch: launch the compilation without user request. -c_compile: launch C compilation if needed. -ca_class: analyze code of a class or of all non-library classes (-all). -ca_default: restore default code analyzer preferences. -ca_rule: activate code analyzer rule(s) (with settings). -ca_setting: load code analyzer preferences from a file. -callees: show the callees of a feature. -callers: show the callers of a feature. -class_file.e: specify a class file for single file compilation. -clean: delete existing project if any and perform a fresh compilation. -clients: show the clients of a class. -config: specify the configuration (ECF) file. -config_option: override configuration options of a target. -debug: debug the system as a command loop. -descendants: show the descendants of a class. -dversions: show the descendant versions of a feature. -file: save the output to a file. -filter: show a filtered form (troff, ...) of the class text. -finalize: finalize the system (discard assertions by default). -flat: show the flat form of a class. -flatshort: show the flat-short form of a class. -freeze: freeze the system. -full: with full class checking regardless of ECF settings. -gc_stats: Show GC statistics. -gui: start the graphical environment. -help: show this help message. -implementers: show the classes implementing a feature. -library: specify a library for single file compilation. -loop: run ec as a command loop. -melt: melt the system. -metadata_cache_path: Location of .NET MetadData consumer cache. -no_library: do not convert clusters into libraries. -precompile: precompile the system. -preference: override default or stored preference value. -pretty: show the pretty form of a class. -project: specify the project file to load (obsolete). -project_path: specify the compilation directory. -quick_melt: quick melt the system. -reset_ide_layout: reset the IDE layout. -short: show the short form of a class. -stop: stop on error. -suppliers: show the suppliers of a class. -target: specify the target. -use_settings: use settings for project location. -version: show compiler version number. ``` -------------------------------- ### Create setup.bat for EiffelStudio environment Source: https://www.eiffel.org/doc/eiffelstudio/Windows Content for a setup.bat file to set environment variables for EiffelStudio. Place this file in the Eiffel_X.Y folder and run it in a DOS console to configure the environment. ```batch set ISE_EIFFEL=%~dp0 set ISE_PLATFORM=win64 set ISE_C_COMPILER=msc_vc140 set PATH=%ISE_EIFFEL%\studio\spec\%ISE_PLATFORM%\bin;%ISE_EIFFEL%\tools\spec\%ISE_PLATFORM%\bin;%ISE_EIFFEL%\library\gobo\spec\%ISE_PLATFORM%\bin;%PATH% ``` -------------------------------- ### Install adwaita-icon-theme for GTK3 Source: https://www.eiffel.org/doc/eiffelstudio/Mac_OS_X Install the adwaita-icon-theme package, a new required dependency for GTK3. ```bash sudo port install adwaita-icon-theme ```