GMP Library compilation process under Win 7 platform

Source: Internet
Author: User
Tags bz2 gmp

First you need to install MinGW download Link: http://mingw.org/


1. Download gmp-6.0.0a.tar.bz2 to gmp_downlaod download link: https://gmplib.org/



2. Open Msys.bat
CD D: Enter D:
CD gmp_downlaodEnter Gmp_downlaod


3. Unzip the file with the downstream command gmp-6.0.0a.tar.bz2
TAR-XJVF file.tar.bz2//Decompression tar.bz2


4. Create a new gmp_build in D to copy the extracted files to Gmp_build


5. CD Gmp_download
CD gmp-6.0.0
./configure--prefix=${gmp_install}
6, wait for the compilation time will be relatively long


7. Build GMP:
Make


Install GMP header files and Lib files:
Make install
A static package is compiled


8. If you perform
./configure--disable-static--enable-shared
Make
Make install
DLL dynamic link library is compiled

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.