mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-01 07:12:50 -06:00
more instructions for Windows
This commit is contained in:
@@ -44,13 +44,27 @@ autoreconf -i
|
||||
make
|
||||
make install
|
||||
```
|
||||
The shared libraries are installed in `/usr/local/lib`.
|
||||
The shared libraries are installed in `/usr/local/lib`. You can instead use:
|
||||
|
||||
## Using
|
||||
|
||||
- Compiling GF with this runtime will require flag `--extra-lib-dirs=/usr/local/lib`.
|
||||
- Running GF with this runtime will require environment variable `LD_LIBRARY_PATH=/usr/local/lib`
|
||||
|
||||
This can be avoided by configuring the C runtime with:
|
||||
|
||||
```
|
||||
./configure --prefix=/usr
|
||||
```
|
||||
|
||||
On Windows, the easiest way to let GHC know about the library is to use:
|
||||
|
||||
```
|
||||
./configure --prefix=<GHC-root-directory>/mingw
|
||||
```
|
||||
|
||||
after that move libpgf-0.dll from `<GHC-root-directory>/mingw/bin` to `<GHC-root-directory>/bin`.
|
||||
|
||||
## Uninstalling
|
||||
|
||||
To remove the _old_ C runtime from your system, do:
|
||||
|
||||
Reference in New Issue
Block a user