How to view Linux installed compilers and their version __linux

Source: Internet
Author: User
Tags gmp

Http://zhidao.baidu.com/link?url=PMNQ2frkKHFL54PyQUzU65RDtzhbsk7E1ASYYnUA3ah4-AI69ycDdvWWviq7Rh_zdXFAN5k5f5Njg0de3DcXiq


How to view Linux installed compilers and their versions when installing other software, alarms many compilers are not installed or have a low version.
How to view Linux-installed compilers and their version information. such as GCC, glibc, zlib, etc.  xiaomingming08 | Browse 16,294 times 2008-04-30 14:04 2015-06-30 13:19 Best Answer

In a Linux environment, create a new terminal, and then enter the command directly in the terminal: Arm-linux-gcc-v carriage return, the following information can appear: (Here is the Cross compiler GCC installed, version 4.2.2) Using built-in specs. Target:arm-unknown-linux-gnueabi configured with:/home/scsuh/workplace/coffee/buildroot-20071011/toolchain_build _arm/gcc-4.2.2/configure--prefix=/usr--build=i386-pc-linux-gnu--host=i386-pc-linux-gnu--target= Arm-unknown-linux-gnueabi--enable-languages=c,c++--with-sysroot=/usr/local/arm/4.2.2-eabi/-- With-build-time-tools=/usr/local/arm/4.2.2-eabi//usr/arm-unknown-linux-gnueabi/bin--disable-__cxa_atexit-- Enable-target-optspace--with-gnu-ld--enable-shared--with-gmp=/usr/local/arm/4.2.2-eabi//gmp--with-mpfr=/usr/ LOCAL/ARM/4.2.2-EABI//MPFR--disable-nls--enable-threads--disable-multilib--disable-largefile--with-arch=armv4t

--with-float=soft--enable-cxx-flags=-msoft-float Thread model:posix gcc version 4.2.2 If some of the compiler's information and compiler versions are available (the last line represents the compiler's version), then the compiler is installed, or the compiler is not installed or is not installed successfully.

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.