CentOS 7 has supported GCC compilation of 32-bit programs

Source: Internet
Author: User

By looking at the CentOS update package, we found that the GCC 32-bit version was already supported.


In fact, using the Centos-7.0-1406-x86_64-everything.iso Complete installation file, the configuration within the Centos-media.repo is
[C7-media]
name=centos-$releasever-media
baseurl=file:///mnt/cdrom/
Gpgcheck=1
Enabled=1
Gpgkey=file:///mnt/cdrom/rpm-gpg-key-centos-7

Full installation
Yum--disablerepo=\*--enablerepo=c7-media Install Glibc-devel

http://mirrors.hustunique.com/centos/7.0.1406/updates/x86_64/Packages/

The corresponding files are:

libstdc++-4.8.2-16.2.el7_0.i686.rpm 18-aug-2014 21:35 301K

libgcc-4.8.2-16.2.el7_0.i686.rpm 18-aug-2014 21:34 94K

Use the command to view the two packages and find the files we need.

# RPM-QPL libgcc-4.8.2-16.2.el7_0.i686.rpm

Warning:libgcc-4.8.2-16.2.el7_0.i686.rpm:header V3 rsa/sha256 Signature, key ID F4a80eb5:nokey

/lib/libgcc_s-4.8.2-20140120.so.1

/lib/libgcc_s.so.1

/usr/share/doc/libgcc-4.8.2

/usr/share/doc/libgcc-4.8.2/copying

/usr/share/doc/libgcc-4.8.2/copying. Lib

/usr/share/doc/libgcc-4.8.2/copying. RUNTIME

/usr/share/doc/libgcc-4.8.2/copying3

/usr/share/doc/libgcc-4.8.2/copying3. Lib

# RPM-QPL libstdc++-4.8.2-16.2.el7_0.i686.rpm

Warning:libstdc++-4.8.2-16.2.el7_0.i686.rpm:header V3 rsa/sha256 Signature, key ID F4a80eb5:nokey

/usr/lib/libstdc++.so.6

/usr/lib/libstdc++.so.6.0.19

/usr/share/gcc-4.8.2

/usr/share/gcc-4.8.2/python

/usr/share/gcc-4.8.2/python/libstdcxx

/usr/share/gcc-4.8.2/python/libstdcxx/__init__.py

/usr/share/gcc-4.8.2/python/libstdcxx/__init__.pyc

/usr/share/gcc-4.8.2/python/libstdcxx/__init__.pyo

/usr/share/gcc-4.8.2/python/libstdcxx/v6

/usr/share/gcc-4.8.2/python/libstdcxx/v6/__init__.py

/usr/share/gcc-4.8.2/python/libstdcxx/v6/__init__.pyc

/usr/share/gcc-4.8.2/python/libstdcxx/v6/__init__.pyo

/usr/share/gcc-4.8.2/python/libstdcxx/v6/printers.py

/usr/share/gcc-4.8.2/python/libstdcxx/v6/printers.pyc

/usr/share/gcc-4.8.2/python/libstdcxx/v6/printers.pyo

/usr/share/gdb

/usr/share/gdb/auto-load

/usr/share/gdb/auto-load/usr

/usr/share/gdb/auto-load/usr/lib

/usr/share/gdb/auto-load/usr/lib/libstdc++.so.6.0.19-gdb.py

/usr/share/gdb/auto-load/usr/lib/libstdc++.so.6.0.19-gdb.pyc

/usr/share/gdb/auto-load/usr/lib/libstdc++.so.6.0.19-gdb.pyo

Related Article

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.