Commit 38200b0
committed
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).1 parent 25d4a41 commit 38200b0
4 files changed
Lines changed: 45 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
500 | 500 | | |
501 | 501 | | |
502 | 502 | | |
503 | | - | |
| 503 | + | |
504 | 504 | | |
505 | 505 | | |
506 | 506 | | |
507 | 507 | | |
508 | 508 | | |
| 509 | + | |
| 510 | + | |
509 | 511 | | |
510 | 512 | | |
511 | 513 | | |
512 | 514 | | |
513 | 515 | | |
| 516 | + | |
514 | 517 | | |
515 | | - | |
| 518 | + | |
516 | 519 | | |
517 | 520 | | |
518 | 521 | | |
519 | 522 | | |
520 | 523 | | |
| 524 | + | |
| 525 | + | |
521 | 526 | | |
522 | 527 | | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
523 | 532 | | |
524 | 533 | | |
525 | 534 | | |
526 | 535 | | |
527 | | - | |
| 536 | + | |
528 | 537 | | |
529 | | - | |
| 538 | + | |
530 | 539 | | |
531 | 540 | | |
532 | 541 | | |
| |||
537 | 546 | | |
538 | 547 | | |
539 | 548 | | |
| 549 | + | |
540 | 550 | | |
541 | 551 | | |
542 | 552 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
655 | 655 | | |
656 | 656 | | |
657 | 657 | | |
| 658 | + | |
658 | 659 | | |
659 | 660 | | |
660 | 661 | | |
| |||
770 | 771 | | |
771 | 772 | | |
772 | 773 | | |
| 774 | + | |
773 | 775 | | |
774 | 776 | | |
775 | 777 | | |
| |||
1440 | 1442 | | |
1441 | 1443 | | |
1442 | 1444 | | |
| 1445 | + | |
| 1446 | + | |
| 1447 | + | |
| 1448 | + | |
| 1449 | + | |
| 1450 | + | |
1443 | 1451 | | |
1444 | 1452 | | |
1445 | 1453 | | |
| |||
12368 | 12376 | | |
12369 | 12377 | | |
12370 | 12378 | | |
| 12379 | + | |
| 12380 | + | |
| 12381 | + | |
| 12382 | + | |
| 12383 | + | |
| 12384 | + | |
| 12385 | + | |
| 12386 | + | |
| 12387 | + | |
| 12388 | + | |
12371 | 12389 | | |
12372 | 12390 | | |
12373 | 12391 | | |
| |||
17760 | 17778 | | |
17761 | 17779 | | |
17762 | 17780 | | |
| 17781 | + | |
17763 | 17782 | | |
17764 | 17783 | | |
17765 | 17784 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
334 | 334 | | |
335 | 335 | | |
336 | 336 | | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
337 | 347 | | |
338 | 348 | | |
339 | 349 | | |
| |||
854 | 864 | | |
855 | 865 | | |
856 | 866 | | |
| 867 | + | |
857 | 868 | | |
858 | 869 | | |
859 | 870 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| 72 | + | |
72 | 73 | | |
73 | 74 | | |
74 | 75 | | |
| |||
0 commit comments