mirror of
https://github.com/plasma-umass/coz.git
synced 2024-09-11 04:55:25 +03:00
include usage instructions for local install
This commit is contained in:
parent
77a55386ff
commit
0f88d2222a
14
README.md
14
README.md
@ -67,11 +67,21 @@ Install first the other dependencies and clone coz and libelfin, then:
|
||||
COZ=$HOME/path/to/coz
|
||||
LIBELFIN=$HOME/path/to/libeflin
|
||||
cd $LIBELFIN && make
|
||||
export PKG_CONFIG_PATH=$LIBELFIN/elf:$LIBELFIN/dwarf
|
||||
export PKG_CONFIG_PATH=$LIBELFIN/elf:$LIBELFIN/dwarf
|
||||
export C_INCLUDE_PATH=$LIBELFIN/../
|
||||
export CPLUS_INCLUDE_PATH=$LIBELFIN/../
|
||||
cd $COZ && cmake . && make
|
||||
```
|
||||
This creates a local ./coz executable that can be run from the $COZ directory
|
||||
|
||||
This creates a local ./coz executable that can be run from the $COZ directory.
|
||||
|
||||
To compile and run C/C++ programs containing the coz.h header and COZ_xxx macros, you should position:
|
||||
|
||||
```shell
|
||||
export CPLUS_INCLUDE_PATH=$COZ/include
|
||||
export C_INCLUDE_PATH=$COZ/include
|
||||
export LD_LIBRARY_PATH=$LIBELFIN/elf:$LIBELFIN/dwarf
|
||||
```
|
||||
|
||||
</details>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user