[BACK]Return to extract_gc.sh CVS log [TXT][DIR] Up to [local] / OpenXM_contrib2 / windows

File: [local] / OpenXM_contrib2 / windows / extract_gc.sh (download)

Revision 1.1, Mon Mar 9 16:00:42 2009 UTC (15 years, 2 months ago) by ohara
Branch: MAIN

Now we can build Risa/Asir for Windows x64 by Visual Studio 2008.
but pari functions and html helps are disabled.

makefiles are written in Microsoft nmake.

#!/bin/sh
OpenXM_HOME=${OpenXM_HOME:-../../OpenXM}
OpenXM_dist=${OpenXM_HOME}/../OpenXM_dist
GC=gc-7.1
GC_TARGZ=${GC}.tar.gz
GC_PATCH=gc-7.0-risa.diff

tar zxf ${OpenXM_dist}/${GC_TARGZ}

for i in ${GC_PATCH} ; do 
	f=../asir2000/$i
	if [ -f $f ]; then
		(cd ${GC}; patch -p1) < $f 
	fi
done
echo -n > ${GC}/gc_cpp.cc