Closed mahi045 closed 2 years ago
Can I ask you whether the model-counting-competition branch makefile compiles statically?
Yes, but you need to compile it with make ABC_USE_NO_READLINE=1
.
(Have a look at ABC's readme.)
You can verify the resulting binary with ldd bin/abc
. It should print not a dynamic executable
. This works on my Ubuntu 20.04 machine.
If you have an very old environment, you may need to specify more options for gcc
, cf. this post.
If you just need a static binary, you can download one here.
Thank you @nianzelee. It is very helpful.
I am interested in building ssatABC statically. How I can modify the
Makefile
to build it statically?