mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-23 03:32:51 -06:00
Added autoconf step.
This commit is contained in:
13
src/INSTALL
13
src/INSTALL
@@ -11,7 +11,11 @@ To make and install GF2 (Version 2-beta, 2/4/2004).
|
|||||||
|
|
||||||
ghc --version
|
ghc --version
|
||||||
|
|
||||||
3. Run configure
|
3. If you are building from CVS, run autoconf (in src/):
|
||||||
|
|
||||||
|
autoconf
|
||||||
|
|
||||||
|
4. Run configure
|
||||||
|
|
||||||
./configure
|
./configure
|
||||||
|
|
||||||
@@ -20,14 +24,14 @@ To make and install GF2 (Version 2-beta, 2/4/2004).
|
|||||||
|
|
||||||
./configure --prefix=/usr
|
./configure --prefix=/usr
|
||||||
|
|
||||||
4. Compile with make, either of
|
5. Compile with make, either of
|
||||||
|
|
||||||
make unix -- for Linux, Solaris, Mac OSX
|
make unix -- for Linux, Solaris, Mac OSX
|
||||||
make windows -- for MS Windows
|
make windows -- for MS Windows
|
||||||
|
|
||||||
The binary is sent to the file GF2/bin/gf2
|
The binary is sent to the file GF2/bin/gf2
|
||||||
|
|
||||||
5. For a quick test: start GF2, load a grammar and parse a string:
|
6. For a quick test: start GF2, load a grammar and parse a string:
|
||||||
|
|
||||||
cd ../grammars/basic
|
cd ../grammars/basic
|
||||||
../../bin/gf2 English.gf
|
../../bin/gf2 English.gf
|
||||||
@@ -37,7 +41,7 @@ To make and install GF2 (Version 2-beta, 2/4/2004).
|
|||||||
-- this is the response from GF2:
|
-- this is the response from GF2:
|
||||||
PredA1 (Every Number) (DisjA1 Even Odd)
|
PredA1 (Every Number) (DisjA1 Even Odd)
|
||||||
|
|
||||||
6. If you want to run the Java GUI, go back to GF2/src and also do
|
7. If you want to run the Java GUI, go back to GF2/src and also do
|
||||||
|
|
||||||
make install-java
|
make install-java
|
||||||
|
|
||||||
@@ -52,3 +56,4 @@ To make and install GF2 (Version 2-beta, 2/4/2004).
|
|||||||
When the window opens, push the Random button.
|
When the window opens, push the Random button.
|
||||||
|
|
||||||
Author: Aarne Ranta, 2/4/2004
|
Author: Aarne Ranta, 2/4/2004
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user