About gcc Installation

Source: Internet
Author: User
For details about how to install gcc-general Linux technology-Linux technology and application, refer to the following. I am a newbie and learn how to compile and install mplayer on the Internet.
[Root @ localhost MPlayer-1.0pre3] # mkdir/usr/local/mplay
[Root @ localhost MPlayer-1.0pre3] #./configure -- prefix =/usr/local/mplay/
Detected operating system: Linux
Detected host architecture: i386
Checking for cc version... not found
Checking for gcc version... not found
Checking for gcc-3.3 version... not found
Checking for gcc-3.2 version... not found
Checking for gcc-3.1 version... not found
Checking for gcc3 version... not found
Checking for gcc-3.0 version... not found
Checking for cc version... not found

* ** Please downgrade/upgrade C compiler to version gcc-2.95.x or gcc-3.x! ***
This error is prompted, knowing that the gcc version is too low
Then download the gcc-4.4.1 decompress and create the/usr/local/gcc-4.4.1 directory, then go to this directory and execute/mnt/hgfs/tftpd32.351/gcc-4.4.1/configure -- prefix =/usr/local/gcc-4.4.1/command
Where/mnt/hgfs/tftpd32.351/gcc-4.4.1 is the directory of the source code/usr/local/gcc-4.4.1/for the installation directory error prompt
[Root @ localhost gcc-4.4.1] #/mnt/hgfs/tftpd32.351/gcc-4.4.1/configure -- prefix =/usr/local/gcc-4.4.1/
Checking build system type... i686-pc-linux-gnu
Checking host system type... i686-pc-linux-gnu
Checking target system type... i686-pc-linux-gnu
Checking for a BSD-compatible install.../usr/bin/install-c
Checking whether ln works... yes
Checking whether ln-s works... yes
Checking for gcc... no
Checking for cc... no
Checking for cc... no
Checking for cl... no
Configure: error: in '/usr/local/gcc-4.4.1 ':
Configure: error: no acceptable C compiler found in $ PATH
See 'config. log' for more details.
Confusing! I don't know what to do.

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.