diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 15 |
1 files changed, 11 insertions, 4 deletions
@@ -29,7 +29,14 @@ For Arch Linux & MSYS2-MinGW64: `pacman -S base-devel` - 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. +your system libc. Handy scripts are included for cross-compilation: + +- `x86_64-linux-musl.sh` will build a fully static binary linked against musl + libc. Requirements: musl-based cross compiler in `/opt/cross`, you can get + these from [musl-cross](https://bitbucket.org/GregorR/musl-cross/) or + [musl.cc](https://musl.cc/). +- `x86_64-w64-mingw32.sh` will cross-compile a Windows binary, requires a + mingw32 cross compiler in `/opt/cross` ([musl.cc](https://musl.cc/) has + these). + +More targets TBD. |