Skip to content

Commit aab2060

Browse files
authored
Merge pull request #209 from bkmgit/bkmgit-add-fedora
Info for Fedora and choosing C compiler
2 parents 5cb9bd5 + a40b8af commit aab2060

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ cd yjit
5353
```
5454

5555
The YJIT `ruby` binary can be built with either GCC or Clang. For development, we recommend enabling debug symbols so that assertions are enabled as this makes debugging easier. Enabling debug mode will also make it possible for you to disassemble code generated by YJIT. However, this causes a performance hit. For maximum performance, compile with GCC, without the `DRUBY_DEBUG` or `YJIT_STATS` build options. More detailed build instructions are provided in the [Ruby README](https://github.com/ruby/ruby#how-to-compile-and-install).
56-
To support disassembly of the generated code, `libcapstone` is also required (`brew install capstone` on MacOS, `sudo apt-get install -y libcapstone-dev` on Ubuntu/Debian).
56+
To support disassembly of the generated code, `libcapstone` is also required (`brew install capstone` on MacOS, `sudo apt-get install -y libcapstone-dev` on Ubuntu/Debian and `sudo dnf -y install capstone-devel` on Fedora).
5757

5858
```
5959
# Configure with debugging/stats options for development, build and install
@@ -62,6 +62,13 @@ To support disassembly of the generated code, `libcapstone` is also required (`b
6262
make -j16 install
6363
```
6464

65+
Typically configure will choose default C compiler. To specify the C compiler, use
66+
```
67+
# Choosing a specific c compiler
68+
export CC=/path/to/my/choosen/c/compiler
69+
```
70+
before runing `./configure`.
71+
6572
You can test that YJIT works correctly by running:
6673

6774
```

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy