Difference between revisions of "Building a delivery"

 
Line 1: Line 1:
building
+
The following command creates a new delivery of EiffelStudio in the current directory. The script assumes that you are running bash, that you have defined the environment variable '''EIFFEL_SRC''' and that you have followed [[Compiling_EiffelStudio|the instructions to compile EiffelStudio]].
 +
 
 +
Platform independent part:
 +
<pre>
 +
export SVNURL=https://eiffelsoftware.origo.ethz.ch/svn/es/trunk
 +
export NEW_ISE_EIFFEL=`pwd`/EiffelXX_wkbench
 +
svn co $SVNURL/Delivery EiffelXX_wkbench
 +
 
 +
cd $NEW_ISE_EIFFEL/studio/spec
 +
mkdir $ISE_PLATFORM
 +
mkdir $ISE_PLATFORM/bin
 +
mkdir $ISE_PLATFORM/include
 +
mkdir $ISE_PLATFORM/lib
 +
 
 +
cp $EIFFEL_SRC/C/run-time/*.h $NEW_ISE_EIFFEL/studio/spec/$ISE_PLATFORM/include
 +
</pre>
 +
 
 +
On Unix, you need to do the following:
 +
<pre>
 +
cp $EIFFEL_SRC/C/config.sh $NEW_ISE_EIFFEL/studio/spec/$ISE_PLATFORM/include
 +
cp $EIFFEL_SRC/C/run-time/lib* $NEW_ISE_EIFFEL/studio/spec/$ISE_PLATFORM/lib
 +
cp $EIFFEL_SRC/C/run-time/x2c $NEW_ISE_EIFFEL/studio/spec/$ISE_PLATFORM/bin
 +
cp ipc/daemon/ecdbgd $NEW_ISE_EIFFEL/studio/spec/$ISE_PLATFORM/bin
 +
 
 +
cd $NEW_ISE_EIFFEL/studio/config
 +
cp -r unix $ISE_PLATFORM
 +
cd $NEW_ISE_EIFFEL/studio/spec/$ISE_PLATFORM/bin
 +
ln -s $NEW_ISE_EIFFEL/studio/spec/unix/finish_freezing .
 +
ln -s $NEW_ISE_EIFFEL/studio/spec/unix/prelink .
 +
</pre>
 +
 
 +
On Windows, you need to do the following:
 +
<pre>
 +
mkdir $NEW_ISE_EIFFEL/studio/spec/$ISE_PLATFORM/lib/$ISE_C_COMPILER
 +
cp $EIFFEL_SRC/C/run-time/lib* $NEW_ISE_EIFFEL/studio/spec/$ISE_PLATFORM/lib/$ISE_C_COMPILER
 +
cp $EIFFEL_SRC/C/run-time/x2c.exe $NEW_ISE_EIFFEL/studio/spec/$ISE_PLATFORM/bin
 +
cp ipc/daemon/ecdbgd.exe $NEW_ISE_EIFFEL/studio/spec/$ISE_PLATFORM/bin
 +
 
 +
cd $NEW_ISE_EIFFEL/studio/config
 +
cp -r windows $ISE_PLATFORM
 +
</pre>
 +
 
 +
Now your delivery is ready to receive the executable that you will have compiled.

Revision as of 15:24, 1 November 2006

The following command creates a new delivery of EiffelStudio in the current directory. The script assumes that you are running bash, that you have defined the environment variable EIFFEL_SRC and that you have followed the instructions to compile EiffelStudio.

Platform independent part:

export SVNURL=https://eiffelsoftware.origo.ethz.ch/svn/es/trunk
export NEW_ISE_EIFFEL=`pwd`/EiffelXX_wkbench
svn co $SVNURL/Delivery EiffelXX_wkbench

cd $NEW_ISE_EIFFEL/studio/spec
mkdir $ISE_PLATFORM
mkdir $ISE_PLATFORM/bin
mkdir $ISE_PLATFORM/include
mkdir $ISE_PLATFORM/lib

cp $EIFFEL_SRC/C/run-time/*.h $NEW_ISE_EIFFEL/studio/spec/$ISE_PLATFORM/include

On Unix, you need to do the following:

cp $EIFFEL_SRC/C/config.sh $NEW_ISE_EIFFEL/studio/spec/$ISE_PLATFORM/include
cp $EIFFEL_SRC/C/run-time/lib* $NEW_ISE_EIFFEL/studio/spec/$ISE_PLATFORM/lib
cp $EIFFEL_SRC/C/run-time/x2c $NEW_ISE_EIFFEL/studio/spec/$ISE_PLATFORM/bin
cp ipc/daemon/ecdbgd $NEW_ISE_EIFFEL/studio/spec/$ISE_PLATFORM/bin

cd $NEW_ISE_EIFFEL/studio/config
cp -r unix $ISE_PLATFORM
cd $NEW_ISE_EIFFEL/studio/spec/$ISE_PLATFORM/bin
ln -s $NEW_ISE_EIFFEL/studio/spec/unix/finish_freezing .
ln -s $NEW_ISE_EIFFEL/studio/spec/unix/prelink .

On Windows, you need to do the following:

mkdir $NEW_ISE_EIFFEL/studio/spec/$ISE_PLATFORM/lib/$ISE_C_COMPILER
cp $EIFFEL_SRC/C/run-time/lib* $NEW_ISE_EIFFEL/studio/spec/$ISE_PLATFORM/lib/$ISE_C_COMPILER
cp $EIFFEL_SRC/C/run-time/x2c.exe $NEW_ISE_EIFFEL/studio/spec/$ISE_PLATFORM/bin
cp ipc/daemon/ecdbgd.exe $NEW_ISE_EIFFEL/studio/spec/$ISE_PLATFORM/bin

cd $NEW_ISE_EIFFEL/studio/config
cp -r windows $ISE_PLATFORM

Now your delivery is ready to receive the executable that you will have compiled.