File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ To build it (most of these instructions come from [here](https://gcc.gnu.org/onl
5757
5858``` bash
5959$ git clone https://github.com/rust-lang/gcc
60- $ sudo apt install flex libmpfr-dev libgmp-dev libmpc3 libmpc-dev dejagnu
60+ $ sudo apt install flex libmpfr-dev libgmp-dev libmpc3 libmpc-dev
6161$ mkdir gcc-build gcc-install
6262$ cd gcc-build
6363$ ../gcc/configure \
@@ -70,15 +70,22 @@ $ ../gcc/configure \
7070$ make -j4 # You can replace `4` with another number depending on how many cores you have.
7171```
7272
73- If you want to run libgccjit tests, you will need to also enable the C++ language in the ` configure ` :
73+ If you want to run libgccjit tests, you will need to
74+ * Enable the C++ language in the ` configure ` step:
7475
7576``` bash
7677--enable-languages=jit,c++
7778```
79+ * Install [ dejagnu] ( https://www.gnu.org/software/dejagnu/#downloading ) to run the tests
80+
81+ ``` bash
82+ $ sudo apt install dejagnu
83+ ```
7884
7985Then to run libgccjit tests:
8086
8187``` bash
88+ $ sudo apt install dejagnu
8289$ cd gcc # from the `gcc-build` folder
8390$ make check-jit
8491# To run one specific test:
You can’t perform that action at this time.
0 commit comments