You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Welcome to the rust_codegen_gcc project! This guide will help you get started as a contributor. The project aims to provide a GCC codegen backend for rustc, allowing Rust compilation on platforms unsupported by LLVM and potentially improving runtime performance through GCC's optimizations.
3
+
Welcome to the `rust_codegen_gcc` project! This guide will help you get started as a contributor. The project aims to provide a GCC codegen backend for rustc, allowing Rust compilation on platforms unsupported by LLVM and potentially improving runtime performance through GCC's optimizations.
4
4
5
5
## Getting Started
6
6
7
7
### Setting Up Your Development Environment
8
8
9
-
1. Install the required dependencies:
10
-
- rustup (follow instructions on the [official website](https://rustup.rs))
For detailed setup instructions including dependencies, build steps, and initial testing, please refer to our [README](https://github.com/rust-lang/rustc_codegen_gcc/blob/master/Readme.md). The README contains the most up-to-date information on:
Copy file name to clipboardexpand all lines: Readme.md
+26-13
Original file line number
Diff line number
Diff line change
@@ -12,22 +12,35 @@ This is a GCC codegen for rustc, which means it can be loaded by the existing ru
12
12
The primary goal of this project is to be able to compile Rust code on platforms unsupported by LLVM.
13
13
A secondary goal is to check if using the gcc backend will provide any run-time speed improvement for the programs compiled using rustc.
14
14
15
-
### Dependencies
16
-
17
-
**rustup:** Follow the instructions on the official [website](https://www.rust-lang.org/tools/install)
18
-
19
-
**DejaGnu:** Consider to install DejaGnu which is necessary for running the libgccjit test suite. [website](https://www.gnu.org/software/dejagnu/#downloading)
20
-
21
-
15
+
## Getting Started
22
16
23
-
## Building
24
-
25
-
**This requires a patched libgccjit in order to work.
17
+
Note: **This requires a patched libgccjit in order to work.
26
18
You need to use my [fork of gcc](https://github.com/antoyo/gcc) which already includes these patches.**
27
19
28
-
```bash
29
-
$ cp config.example.toml config.toml
30
-
```
20
+
### Dependencies
21
+
- rustup: follow instructions on the [official website](https://rustup.rs)
22
+
- consider to install DejaGnu which is necessary for running the libgccjit test suite. [website](https://www.gnu.org/software/dejagnu/#downloading)
0 commit comments