diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2022-10-17 23:47:18 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-10-17 23:47:18 +0200 |
| commit | 25d482856e3042b862d6741cfdac56f244fac04a (patch) | |
| tree | 7e74da0ed87e866775ddb3a4fb0cbb9e51c6cdfa | |
| parent | e84f9a15929d0a915664176cc0dbef43691dd172 (diff) | |
| download | rust-25d482856e3042b862d6741cfdac56f244fac04a.tar.gz rust-25d482856e3042b862d6741cfdac56f244fac04a.zip | |
Improve installation documentation
| -rw-r--r-- | Readme.md | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Readme.md b/Readme.md index cdd7f55dcde..274538a0e63 100644 --- a/Readme.md +++ b/Readme.md @@ -18,6 +18,21 @@ The patches in [this repository](https://github.com/antoyo/libgccjit-patches) ne (Those patches should work when applied on master, but in case it doesn't work, they are known to work when applied on 079c23cfe079f203d5df83fea8e92a60c7d7e878.) You can also use my [fork of gcc](https://github.com/antoyo/gcc) which already includes these patches.** +To build it (most of these instructions come from [here](https://gcc.gnu.org/onlinedocs/jit/internals/index.html), so don't hesitate to take a look there if you encounter an issue): + +```bash +$ cd gcc +$ ./contrib/download_prerequisites +$ sudo apt install flex libmpfr-dev libgmp-dev libmpc3 libmpc-dev +$ ./configure \ + --enable-host-shared \ + --enable-languages=jit \ + --disable-bootstrap \ + --enable-checking=release \ + --prefix=$(pwd)/install \ + --disable-multilib +``` + **Put the path to your custom build of libgccjit in the file `gcc_path`.** ```bash |
