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.