Skip to content

Commit

Permalink
Add info about single module recompilation ##doc
Browse files Browse the repository at this point in the history
  • Loading branch information
satk0 authored Jul 11, 2024
1 parent 33607b8 commit 3373b4b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
12 changes: 12 additions & 0 deletions DEVELOPERS.md
Original file line number Diff line number Diff line change
Expand Up @@ -564,6 +564,18 @@ export CC="ccache gcc"
This will automatically detect when files do not need to recompiled and avoid
unnecessary work.

It is not necessary to recompile the whole project everytime. Just run make in
the directory you are working on to compile these parts only by using:

```sh
make
```

while inside a modified module (eg: `libr/core`).

Note that if you have radare2 already installed, you don't have to reinstall it
again after recompilation, as the compiled libraries are connected through the symlinks.

## Repeated installation

There is an alternative installation method for radare2 to make it easier to
Expand Down
1 change: 1 addition & 0 deletions libr/include/r_anal.h
Original file line number Diff line number Diff line change
Expand Up @@ -385,6 +385,7 @@ typedef struct r_anal_options_t {
bool propagate_noreturn;
bool recursive_noreturn; // anal.rnr
bool slow;
// R2_600 - add zign_dups field for "zign.dups" config
} RAnalOptions;

// XXX we have cc / calling conventions / abi settings already no need for a custom enum here
Expand Down

0 comments on commit 3373b4b

Please sign in to comment.