/[eiffelstudio]/branches/Eiffel_68/Delivery/make_install
ViewVC logotype

Annotation of /branches/Eiffel_68/Delivery/make_install

Parent Directory Parent Directory | Revision Log Revision Log


Revision 27648 - (hide annotations)
Sat Sep 15 02:08:57 2001 UTC (18 years, 4 months ago) by xavier
Original Path: trunk/Delivery/make_install
File size: 1355 byte(s)
Added a script that customers can execute to set up ISE Eiffel 5. It compiles all C code inside the libraries, proposes to precompile the libraries and checks that ISE _EIFFEL and ISE_PLATFORM are set.

1 xavier 27648 #!/bin/sh
2    
3     echo Welcome to the ISE Eiffel 5 installer
4    
5     ERROR_ENV=""
6     if [ ! "$ISE_EIFFEL" ]; then
7     echo "The environment variable ISE_EIFFEL should be set to the directory where ISE Eiffel 5 is installed (typically the current directory: `pwd`)"
8     ERROR_ENV=TRUE
9     fi
10     if [ ! "$ISE_PLATFORM" ]; then
11     echo The environment variable ISE_PLATFORM should be set to one of these values, depending on your platform:
12     echo linux-glibc2.1, linux-glibc, sgi, sgi-64, solaris, solaris-2.5+, alpha or unixware.
13     ERROR_ENV=TRUE
14     fi
15     if [ "ERROR_ENV" = "TRUE" ]; then
16     echo "When the needed environment variable(s) are set, launch $0 again."
17     exit
18     fi
19    
20     echo "Do you want to precompile EiffelBase (recommended) ? [y/n]"
21     read prec_base
22     echo "Do you want to precompile EiffelVision2 (recommended if you intend to develop Vision2-based applications) ? [y/n]"
23     read prec_vision2
24    
25     INIT_DIR=`pwd`
26    
27     echo Compile the C code of the libraries
28     source compile_libraries
29    
30     echo Generate the proper Ace files for precompilation
31     mv $ISE_EIFFEL/precomp/spec/unix $ISE_EIFFEL/precomp/spec/$ISE_PLATFORM
32    
33     if [ "$prec_base" != "n" ]; then
34     echo Precompile EiffelBase
35     cd $ISE_EIFFEL/precomp/spec/$ISE_PLATFORM/base
36     ec -precompile -ace Ace.ace
37     fi
38     if [ "$prec_vision2" != "n" ]; then
39     echo Precompile EiffelVision2
40     cd $ISE_EIFFEL/precomp/spec/$ISE_PLATFORM/vision2
41     ec -precompile -ace Ace.ace
42     fi
43    

Properties

Name Value
svn:eol-style native
svn:executable *
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.23