mirror of
https://github.com/danog/gllvm.git
synced 2024-11-26 19:14:43 +01:00
Update README.md
Mention gparse a couple of times.
This commit is contained in:
parent
3e87c816bc
commit
5261ffb736
@ -66,9 +66,8 @@ To install, simply do (making sure to include those `...`)
|
|||||||
```
|
```
|
||||||
go get github.com/SRI-CSL/gllvm/cmd/...
|
go get github.com/SRI-CSL/gllvm/cmd/...
|
||||||
```
|
```
|
||||||
This should install five binaries: `gclang`, `gclang++`, `gflang`, `get-bc`, and `gsanity-check`
|
This should install six binaries: `gclang`, `gclang++`, `gflang`, `get-bc`, `gparse`, and `gsanity-check`
|
||||||
in the `$GOPATH/bin` directory.
|
in the `$GOPATH/bin` directory.
|
||||||
|
|
||||||
If you are using `go 1.16` you may be forced to install it like this:
|
If you are using `go 1.16` you may be forced to install it like this:
|
||||||
```
|
```
|
||||||
GO111MODULE=off go get github.com/SRI-CSL/gllvm/cmd/...
|
GO111MODULE=off go get github.com/SRI-CSL/gllvm/cmd/...
|
||||||
@ -81,7 +80,7 @@ Hopefully we will have a better fix for this [soon](https://github.com/golang/go
|
|||||||
`gflang` is the wrapper used to compile Fortran.
|
`gflang` is the wrapper used to compile Fortran.
|
||||||
`get-bc` is used for
|
`get-bc` is used for
|
||||||
extracting the bitcode from a build product (either an object file, executable, library
|
extracting the bitcode from a build product (either an object file, executable, library
|
||||||
or archive). `gsanity-check` can be used for detecting configuration errors.
|
or archive). `gsanity-check` can be used for detecting configuration errors. `gparse` can be used to exam how `gllvm` parses compiler/linker lines.
|
||||||
|
|
||||||
Here is a simple example. Assuming that clang is in your `PATH`, you can build
|
Here is a simple example. Assuming that clang is in your `PATH`, you can build
|
||||||
bitcode for `pkg-config` as follows:
|
bitcode for `pkg-config` as follows:
|
||||||
|
Loading…
Reference in New Issue
Block a user