Zcash: doc of zcutil/build.sh option --disable-libs missing ?

Created on 21 Nov 2018  路  4Comments  路  Source: zcash/zcash

Hi,

sorry for submitting, before this issue,
i did googling and issue searching and read zcutil/build.sh itself,
even read Makefiles (i am not able to figure it out,
libs is a common word makes grep noising me).

1. what's the option --disable-libs meaning ?
    - it smells library stuff about, but about what ...
    - is it required (wallet only node) ?
2. building v2.0.1 even with "--disable-tests --disable-mining",
    size of src/zcashd (122MiB) is much bigger that bin release. (
    size of src/zcashd in archlinux package v2.0.1 is 9.7MiB only.
    ref: https://www.archlinux.org/packages/community/x86_64/zcash/
    )

Most helpful comment

This option was removed as part of https://github.com/zcash/zcash/pull/3153, but it looks like we didn't remove it from the output of ./zcutil/build.sh --help. It should be ignored. We will fix the help output.

All 4 comments

The Arch Linux package probably has a stripped executable (no debugging information).

The Arch Linux package probably has a stripped executable (no debugging information).

Wow, thats working effective, size of my zcashd is now 12MiB only, thanks a lot.

P.S would you note me stuff about option --disable-libs ?

You can ignore that flag because we don't think it does anything and it might be worth removing. @str4d do you have any idea about this flag?

This option was removed as part of https://github.com/zcash/zcash/pull/3153, but it looks like we didn't remove it from the output of ./zcutil/build.sh --help. It should be ignored. We will fix the help output.

Was this page helpful?
0 / 5 - 0 ratings