We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Would you tell me how to build a static CBM binary in ubuntu or alpine?
Thank you!
The text was updated successfully, but these errors were encountered:
You forgot libtool package:
libtool
apk update && apk --no-cache add git wget autoconf automake build-base linux-headers ncurses-dev ncurses-static libtool
Then building succeed, but static binary can be problematic, you have to figure it out yourself I am afraid.
Sorry, something went wrong.
@flajr, Thank you so much!
You are right, CBM output dynamically linked binary even when I used static compile. I hope someone will find out why.
/cbm/src # CC="gcc -static" LDFLAGS="-static" make
/cbm/src # file /cbm/src/cbm /cbm/src/cbm: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-musl-x86_64.so.1, with debug_info, not stripped
No branches or pull requests
Would you tell me how to build a static CBM binary in ubuntu or alpine?
Thank you!
The text was updated successfully, but these errors were encountered: