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

Contents of /branches/Eiffel_68/Delivery/make_install

Parent Directory Parent Directory | Revision Log Revision Log


Revision 29404 - (show annotations)
Thu Nov 29 04:11:15 2001 UTC (18 years, 1 month ago) by manus
Original Path: trunk/Delivery/make_install
File size: 1413 byte(s)
Improved messages and changed default answer for vision2 precompile.

1 #!/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 (required to compile examples) ? [y/n]"
21 read prec_base
22 echo "Do you want to precompile EiffelVision2 (might take a while) ? [y/n]"
23 read prec_vision2
24
25 INIT_DIR=`pwd`
26
27 if [ "$prec_base" != "n" ]; then
28 echo Precompile EiffelBase
29 cd $ISE_EIFFEL/precomp/spec/$ISE_PLATFORM/base
30 rm -rf EIFGEN
31 $ISE_EIFFEL/studio/spec/$ISE_PLATFORM/bin/ec -precompile -ace Ace.ace
32 cd EIFGEN/W_code
33 $ISE_EIFFEL/studio/spec/$ISE_PLATFORM/bin/finish_freezing
34 fi
35 if [ "$prec_vision2" = "y" ]; then
36 echo Precompile EiffelVision2
37 cd $ISE_EIFFEL/precomp/spec/$ISE_PLATFORM/vision2
38 rm -rf EIFGEN
39 $ISE_EIFFEL/studio/spec/$ISE_PLATFORM/bin/ec -precompile -ace Ace.ace
40 cd EIFGEN/W_code
41 $ISE_EIFFEL/studio/spec/$ISE_PLATFORM/bin/finish_freezing
42 fi
43
44 cd $INIT_DIR

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.23