summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2019-05-24 18:00:30 +0200
committerYorhel <git@yorhel.nl>2019-05-24 18:00:30 +0200
commit9474aaa190938cb5de21ec0513192fc462bacb21 (patch)
tree1e509fe7f8696f1d2ae5ff63deffb37cd97e220a /README.md
parent1adcd9cfe15260b757a8234d67feb18bdbba0668 (diff)
Some improvements + support for a musl-based static build
Diffstat (limited to 'README.md')
-rw-r--r--README.md11
1 files changed, 9 insertions, 2 deletions
diff --git a/README.md b/README.md
index 29d88a9..baed43f 100644
--- a/README.md
+++ b/README.md
@@ -18,11 +18,18 @@ This repo builds:
- Make
- Autotools
-The build has only been tested on Linux so far.
-
# Usage
+The build has only been tested on Linux so far, but I plan to add support for
+Windows & OS X as well.
+
- Make sure you have all the required dependencies..
- Run `./build.sh`
- Wait.
- Discover that you suddenly have a working `tor-static` binary.
+
+The generated binary is not *entirely* static because it still links against
+your system libraries. If you have
+[musl-cross](https://bitbucket.org/GregorR/musl-cross/) built and installed in
+`/opt/cross`, then you can run `./x86_64-linux-musl.sh` to "cross"-compile a
+fully static binary. Scripts for other arches are TBD.