How to install g ++

Source: Internet
Author: User
How to install g ++-General Linux technology-Linux technology and application information is as follows. How to install the corresponding g ++
Linux version 2.6.18-194. el5 (mockbuild@x86-005.build.bos.redhat.com) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-48) #1 SMP Tue Mar 16 21:52:39 EDT 2010

When installing a software, the system prompts this error. Is it a g ++ problem?
Lincase15 exists in g ++
Lincase15_sam_1_1_1 SAM001:> make
G ++-Ilib-Iexternals/tinyxml-O2-DNDEBUG-Wall-std = c ++ 0x-c-o lib/check64bit. o lib/check64bit. cpp
G ++: error trying to exec 'cc1plus ': execvp: No such file or directory
Make: *** [lib/check64bit. o] Error 1
Or
No g ++ exists on lincase05
Lincase05_sam_1_1_1 SAM001:> make
G ++-Ilib-Iexternals/tinyxml-O2-DNDEBUG-Wall-std = c ++ 0x-c-o lib/check64bit. o lib/check64bit. cpp
Make: g ++: Command not found
Make: *** [lib/check64bit. o] Error 127

The following error occurs when yum install g ++/g ++-cc is used:
No package g ++ available.
Nothing to do

How can we solve this problem? thank you!

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.