Hello , libgmp10 is installed by default in Debian 12 Bookworm . But it's not available in GCC .... I tested GNU GMP's own example ( primes.c ) by :Why do you not use Debian package of GMP?
Code:
sudo gcc -o primes primes.c -lgmp[sudo] password for lovelorn: primes.c:53:10: fatal error: gmp.h: No such file or directory 53 | #include "gmp.h" | ^~~~~~~compilation terminated.
Statistics: Posted by Hadi_Lovelorn — 2024-02-20 22:29