Skip to content

Commit 816c4ad

Browse files
MahadMuhammadCohenArthur
authored andcommitted
README.md: include installation instructions for gccrs and rustc-1.49.0
Signed-off-by: Muhammad Mahad <mahadtxt@gmail.com>
1 parent f2cd45c commit 816c4ad

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,23 @@ Converts `rustc` testcases into dejagnu testcases for `gccrs`
66

77
This tool was invoked by the script [run](./run.sh). Furthermore, we need the rustc and gccrs source code to be downloaded on the system. And add their paths to the environment variables `GCCRS_PATH`, `RUST_PATH` and `RUSTTEST_TO_DG_PATH`
88

9+
You can install gccrs from the [gccrs repository](https://github.com/Rust-GCC/gccrs):
10+
11+
```bash
12+
git clone https://github.com/Rust-GCC/gccrs.git
13+
```
14+
You can install rustc from the [rust repository](https://github.com/rust-lang/rust):
15+
16+
```bash
17+
git clone https://github.com/rust-lang/rust.git
18+
19+
# Checkout the rustc 1.49.0 version
20+
cd rust
21+
git checkout 1.49.0
22+
```
23+
24+
After that, set the environment variables in your shell configuration file or in the terminal session:
25+
926
```bash
1027
export GCCRS_PATH=/path/to/gccrs
1128
export RUST_PATH=/path/to/rust

0 commit comments

Comments
 (0)