cd ..
gpatch -p1 -V t -d gcc-2.7 < gcc-2.7/f/gbe/2.7.2.1.dif
cd gcc-2.7
@setlocal
@set emxopt=-t %emxopt%
make CC=gcc CFLAGS=-O2 LDFLAGS=-Zsmall-conv >compile.out 2>&1
gcc -c  -DIN_GCC   -O2     -I. -I. -I./config gnucalls.c
@endlocal
cd f
@setlocal
@set emxopt=-t %emxopt%
make CC=gcc CFLAGS=-O2 g77 f771 LDFLAGS=-Zsmall-conv >compile.out 2>&1
@endlocal
emxbind f:\emx\bin\emxl g77 g77
emxbind f:\emx\bin\emxl f771 f771
cd runtime
cd libF77
make >compile.out 2>&1
cd ..
cd libI77
make >compile.out 2>&1
cd ..
cd libU77
make >compile.out 2>&1
cd ..
emxomf -o f2c.lib f2c.a
cd ..
cd ..
emxbind f:\emx\bin\emxl xgcc gcc

