Translating xeyes to Eiffel
Installing CIL (if not yet done):git clone git://cil.git.sourceforge.net/gitroot/cil/cil; cd cil
./configure
make
export PATH=$PATH:`pwd`/bin
1. CIL preprocessing
-
Downloading it:
git clone git://anongit.freedesktop.org/xorg/app/xeyes; cd xeyes -
Configuring it:
./autogen.sh -
Removing gcc optimization flags (results in more readable code):
sed -i "s/ -O2//" Makefile -
Building it:
make CC="cilly --merge --save-temps"