summaryrefslogtreecommitdiff
path: root/src/runtime
diff options
context:
space:
mode:
authorkr.angelov <kr.angelov@gmail.com>2014-02-27 20:04:30 +0000
committerkr.angelov <kr.angelov@gmail.com>2014-02-27 20:04:30 +0000
commit994d936ce96b0f2c2729e6d0d620569db3d887d1 (patch)
tree59afe5fbe6a0964643eee520d562e923794c3a02 /src/runtime
parent2eaf51f15afdfd0ca74f357309b6f2a35e14525b (diff)
instructions for compiling the C runtime on Windows
Diffstat (limited to 'src/runtime')
-rw-r--r--src/runtime/c/INSTALL46
1 files changed, 38 insertions, 8 deletions
diff --git a/src/runtime/c/INSTALL b/src/runtime/c/INSTALL
index 278297b1c..e2bae218a 100644
--- a/src/runtime/c/INSTALL
+++ b/src/runtime/c/INSTALL
@@ -1,3 +1,17 @@
+General Note
+------------
+
+If you want to use the statistical ranking in the parser then you
+have to compile your grammar with the option '-probs=grammar.probs',
+where grammar.probs must contain a tab separated file with
+the probabilities for all functions in the abstract syntax.
+In order to enable the named entity recongizer for the ParseEngAbs
+grammar you also have to add the option '-literal=Symb' while compiling.
+
+
+For Linux users
+---------------
+
You will need the package: libtool
The compilation steps are:
@@ -7,15 +21,9 @@ $ ./configure
$ make
$ make install
-If you want to use the statistical ranking in the parser then you
-have to compile your grammar with the option '-probs=grammar.probs',
-where grammar.probs must contain a tab separated file with
-the probabilities for all functions in the abstract syntax.
-In order to enable the named entity recongizer for the ParseEngAbs
-grammar you also have to add the option '-literal=Symb' while compiling.
-Note For Mac OSX users
-----------------------
+For Mac OSX users
+-----------------
The following is what I did to make it work on MacOSX 10.8:
@@ -28,3 +36,25 @@ $ autoreconf -i
$ ./configure
$ make
$ make install
+
+
+For Windows users
+-----------------
+
+- Install MinGW: http://www.mingw.org/. From the installer you need
+ to select at least the following packages:
+ - Mingw-developer-toolkit
+ - Mingw-base
+ - Msys-base
+ After the installation, don't forget to fix the fstab file. See here:
+ http://www.mingw.org/wiki/Getting_Started
+
+- From the MSYS shell (c:/MinGW/msys/1.0/msys.bat) go to the directory
+ which contains the INSTALL file and do:
+
+ $ autoreconf -i
+ $ ./configure
+ $ make
+ $ make install
+
+ The compiled binaries should be now in c:/MinGW/msys/1.0/local/bin.