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

Static linking #52

Closed
icy opened this issue Mar 22, 2019 · 2 comments
Closed

Static linking #52

icy opened this issue Mar 22, 2019 · 2 comments

Comments

@icy
Copy link

icy commented Mar 22, 2019

Hello, is that possible to have a static linking version of the editor?

Thanks a lot.

@icy
Copy link
Author

icy commented Mar 23, 2019

The dependency information

$ ldd `which ne`
        linux-vdso.so.1 (0x00007ffd31d14000)
        libm.so.6 => /usr/lib/libm.so.6 (0x00007f0b1e887000)
        libncursesw.so.6 => /usr/lib/libncursesw.so.6 (0x00007f0b1e818000)
        libc.so.6 => /usr/lib/libc.so.6 (0x00007f0b1e654000)
        /lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007f0b1eaca000)

maybe a pre-built binary is just enough on the target machine 👍

@vigna
Copy link
Owner

vigna commented Jun 18, 2020

You need to pass -static to gcc.

@vigna vigna closed this as completed Jun 18, 2020
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

2 participants