pkg-config support
Dima Pasechnik <[email protected]> Mon, 12 Jan 2026 16:32:27 -0600
| Newsgroups | gmane.comp.mathematics.pari.devel |
|---|---|
| Message-ID | <aWV2exqJ_kzKXnsp@tarski> |
--LCLyCcRHSq0kkdtj Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello, in https://pari.math.u-bordeaux.fr/archives/pari-dev-2509/msg00000.html it has been said in particular > 4. pkg-config file > Would you consider adding a `pkg-config` file for Pari? At the moment, > users have to manually guess which additional libraries (`gmp`, > `readline`, etc.) need to be linked. A pkg-config file would also make > it much easier to discover Pari when it=E2=80=99s installed in non-standa= rd > locations. while other items in that message were addressed (https://pari.math.u-bordeaux.fr/archives/pari-dev-2509/msg00001.html), thi= s one was not. I have spent lately time fighting build systems unwilling to find pari-gp in nonstandard locations, due to lack of said support. Having such support, which is nowadays standard across the NT landscape (gmp, mpfr, ntl, flint, primecount, etc ha= ve it) is very desirable. Would you consider merging such support, if developed? (it's trivial with standard build systems like autotools or cmake, less so in roll your own systems, but OK...) Best Dima --LCLyCcRHSq0kkdtj Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- iQFPBAABCAA5FiEEJVdDnfI7raAa4RJxoksLHjfJBTEFAmlldncbFIAAAAAABAAO bWFudTIsMi41KzEuMTEsMiwyAAoJEKJLCx43yQUxNXMH/14BZJvEbZXzriwiIlt7 BYxj2bHFYP//7kGThOLVSUmbL0J/elZ+my9zMBJ9501a8PdxZ33zmnSBlIOB3yR1 CU44EnHqLJQMgbPdAAMML+hum213A4cBuXjtO1F+X5fy3zcg/VHWOzcmO9vHY5Nm 4XAm2Bp5Sm9l2jlqDCJlu/3a/V5uGHNhv6FuRyeBfuFC1GymBGqmOmVD+oUqfXOh qgpiwk/8Od6V+OAf/J73K9HRb5tR+0+btaJu66N14u8gJICd8LKzaDoMDxg2bMKC MBHvFq8DEPAuO7/+NHtoPTGB/TbTx6o9YtRAcP1Jn73k75PMpHmDlY/UnOE/TJIm 2fc= =TcRK -----END PGP SIGNATURE----- --LCLyCcRHSq0kkdtj--