This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Basic question: GCC's installed programs
- From: Ian Lance Taylor <iant at google dot com>
- To: Amittai Aviram <amittai dot aviram at yale dot edu>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Tue, 26 Jun 2012 22:38:32 -0700
- Subject: Re: Basic question: GCC's installed programs
- References: <DC6510A8-0FD5-4236-8C5B-9EE7BF9BC930@yale.edu>
Amittai Aviram <amittai.aviram@yale.edu> writes:
> c++
> cpp
> g++
> gcov
> gfortran
> x86_64-unknown-linux-gnu-c++
> x86_64-unknown-linux-gnu-g++
> x86_64-unknown-linux-gnu-gcc
> x86_64-unknown-linux-gnu-gcc-4.6.2
> x86_64-unknown-linux-gnu-gfortran
>
> None of these files is a symbolic link.
No, but some of them are hard links.
> 1. What is "c++"? How is it different from "g++"?
It's not. They are the same.
> 2. Also, how are the simply-named executables (c++, g++, gcc, gfortran) different from the ones whose names are prefixed with the system name "x86_64-unknown-linux-gnu"?
They are the same also.
> 3. Finally, how does "x86_64-unknown-linux-gnu-gcc" differ from "x86_64-unknown-linux-gnu-gcc-4.6.2"?
Those too are the same.
Ian