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 #27

Open
dnut opened this issue Apr 17, 2023 · 1 comment
Open

static linking #27

dnut opened this issue Apr 17, 2023 · 1 comment

Comments

@dnut
Copy link
Owner

dnut commented Apr 17, 2023

It has been a headache trying to build deb files and test them in different versions of debian and ubuntu due to libc and libxcb dependencies. It would be great if these dependencies could be statically linked. The goal is the ability to build a fully portable binary that only depends on the linux kernel and x64 architecture. It should run in any version of debian, ubuntu, arch, etc.

@dnut
Copy link
Owner Author

dnut commented Apr 20, 2023

as long as you build with an old enough version of libc then it works reasonably well with a wide selection of linux distros.

maybe just look into libxcb first to see if static linking could make sense there

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant