|
Oktatás * Programozás 2 * Szkriptnyelvek * Adator. prog. Teaching * Prog. for Data Sci. Félévek Linkek * kalendárium |
DLang /
D example with gmp-dLinks: gmp-d is a high-level wrapper for the GNU MP (GMP) library. It's mostly compatible with Since we use a 3rd-party package, it's better to use the DUB package manager. Create a dub project and then add dub add gmp-d
Note:
Compile and run: dub run Shared library dependencies:
$ ldd ./main
linux-vdso.so.1 (0x00007fc375608000)
libgmp.so.10 => /usr/lib/libgmp.so.10 (0x00007fc37541b000)
libc.so.6 => /usr/lib/libc.so.6 (0x00007fc375200000)
/lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007fc37560a000)
libm.so.6 => /usr/lib/libm.so.6 (0x00007fc3750f2000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007fc3750c5000)
|
![]() Blogjaim, hobbi projektjeim * The Ubuntu Incident [ edit ] |