| Online Eiffel Documentation

EiffelStudio

# 2 COPYING THE EXAMPLE FILES

Help reading this manual

If you are using Eiffel on a personal computer under Windows, you can work directly on the installation directory and don't need to make copies of files as per the present section. Skip directly to the next section, 3. Do read the present section and apply its instructions if you work under Unix, or may have to share the Eiffel installation with other users, do not have write permissions on the installation, or want to keep the installation unchanged.

If you are going to work on a copy, choose or create a directory of your own; let's call it YOURDIR for the rest of the discussion.

To copy all the files of the example to YOURDIR :

- On Windows, open a Windows Explorer, go to $ISE_EIFFEL\examples\studio\tour , select all the files in that directory, and drag-and-drop them to YOURDIR .
- On Unix execute the shell command

      	cp $ISE_EIFFEL/examples/studio/tour/* YOURDIR

- On VMS execute the command

      	copy $ISE_EIFFEL:[examples.studio.tour]*.* YOURDIR

Once you have compiled the example under EiffelStudio, relying on the precompiled EiffelBase library (the default), and without optimization, the contents of YOURDIR will take up less than one megabyte, including information on diagrams and metrics.

The final executable generated through "finalization" (optimized compilation) will take only about 300 kilobytes.

Without precompiled EiffelBase you would need about 3.5 megabytes, plus about 25 megabytes of generated C code and auxiliary files. The executable in that case will take up about 250 kilobytes.

<< Previous Next >>