Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zellij binary contains compile command infomation. #3575

Open
sheeaza opened this issue Aug 28, 2024 · 0 comments
Open

zellij binary contains compile command infomation. #3575

sheeaza opened this issue Aug 28, 2024 · 0 comments

Comments

@sheeaza
Copy link

sheeaza commented Aug 28, 2024

version:

  • v0.40.1

Issue brief:

The zellij binary contains compile command information like below:
compiler: x86_64-linux-musl-gcc -fPIC -pthread -m64 -Wa,--noexecstack -Wall -O3 -O2 -ffunction-sections -fdata-sections -fPIC -m64 -DOPENSSL_USE_NODELETE -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_BUILDING_OPENSSL -DNDEBUG -DOPENSSL_NO_SECURE_MEMORY

you can get this by cmd: strings /path/to/zellij |grep gcc

I'd like to know,

  1. where does this info added when compiling the binary?
  2. what's the purpose of this info?
  3. could this be removed? Since I am using nixos distro, this will cause zellij dependent on gcc compiler, which is not actually needed, and this will increase the size. For example, create zellij docker image by nixos, it will also add gcc and increate the image size.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant