Skip to content
This repository was archived by the owner on Feb 4, 2024. It is now read-only.

Commit 646f8e3

Browse files
committed
update readme for new build instructions
1 parent 0bbee62 commit 646f8e3

File tree

1 file changed

+18
-4
lines changed

1 file changed

+18
-4
lines changed

README.md

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,29 @@ rename-exchange
77
a tiny wrapper around `renameat2(...)` and `RENAME_EXCHANGE` to do
88
**atomic (directory) replacement**
99

10-
### installation
10+
### building
11+
12+
#### precompiled
13+
14+
see [the releases tab] for precompiled binaries.
15+
16+
[the releases tab]: https://github.com/asottile/rename-exchange/releases
17+
18+
#### with musl
19+
20+
smaller, static
1121

1222
```bash
13-
go get github.com/asottile/rename-exchange
23+
musl-gcc -O3 -s -static main.c -o rename-exchange
1424
```
1525

16-
or see [the releases tab] for precompiled binaries.
26+
#### with classic gcc
1727

18-
[the releases tab]: https://github.com/asottile/rename-exchange/releases
28+
larger, dynamically linked
29+
30+
```bash
31+
gcc -O3 -s main.c -o rename-exchange
32+
```
1933

2034
### support
2135

0 commit comments

Comments
 (0)