Installing 32-bit GMP large libraries on 64-bit Linux

Source: Internet
Author: User
Tags gmp

  Pre-Preparation:

If the 32-bit GCC and g++ environments are not installed, this may cause the installation to fail, please refer to the previous post http://www.cnblogs.com/weir007/p/5977759.html to configure the compilation environment according to the system version.

Download GMP source (such as gmp-6.1.0.tar.bz2), unzip, CD into the GMP decompression folder;

Run the command sequentially:

  

abi= cflags=-m32./Configuremake2>&1tee gmp-check- log (requires careful detection due to platform issues, ensuring all 190 test demos pass)  Make  Make Install

No accident, at this time libgmp.so and libgmpxx.so have appeared in the/usr/lib/directory, indicating that the installation was successful.

  

Installing 32-bit GMP large libraries on 64-bit Linux

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.