14 lines
848 B
Text
14 lines
848 B
Text
builder_linux is the script set to compile linux zapret binaries for all supported targets on a linux x86_64 host.
|
|
|
|
howto steps:
|
|
|
|
1. Need a x86_64 traditional linux system with inet access and installed : make, automake, gcc, pkg-config, curl
|
|
2. Copy builder-linux folder somewhere and `cd` to that folder
|
|
3. Run get_toolschains.sh. Select required toolchains or ALL.
|
|
4. Run build_deps.sh. Select required architectures or ALL.
|
|
5. Run build_zapret1.sh or build_zapret2.sh. Select required architectures or ALL.
|
|
6. See binaries in `binaries` folder.
|
|
|
|
To use zlib-ng instead of zlib set ZLIB_NG=1 before running build_deps.sh.
|
|
To compile zapret or zapret2 bins with dynamic musl libc set DYNAMIC=1 before running build_zapret{1,2}.sh.
|
|
To compile PIE executables on supported platforms set PIE=1 before running build_deps.sh and build_zapret{1,2}.sh.
|