-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libyices: added option --without-gmp-embedded
This option will disable the partial linking that allows to embed GMP into libyices.a (only with --enable-static). For example, on Arch linux, the partial linking command ld -r -lgmp *.o -o libyices.o would fail even if libgmp.so is correclty installed. It seems that 'ld -r' would only work with a static libgmp.a (but the arch linux repo only installs the shared gmp library). Why this `ld -r`? This command is the only way I found to compile a static libyices.a from either a shared or a static libgmp and produce a gmp-depend-free libyices.a. Two solutions: 1. Drop the necessity for building a libyices.a free of gmp dependency. In this case, I could remove the `ld -r`. It would then create a libyices.a that depends on libgmp.a/so. 2. Separate the gmp-dependency-free libyices.a from the normal gmp-dependent libyices.a. For example, I could use the option `--without-gmp-embedded` So I did the solution (2).
- Loading branch information
Showing
4 changed files
with
45 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters