[Info-vax] Porting to Linux instead of x86-64 VMS, was: Re: 3rd party SATA SSD usage on RX2660+P400 in a production environment?
Arne Vajhøj
arne at vajhoej.dk
Wed Jul 3 21:50:32 EDT 2019
On 7/3/2019 10:21 AM, Neil Rieck wrote:
> IMHO, the Linux community is responsible for most of the confusion. While most of the world correctly treats C and C++ as separate languages, the "gcc" and "c++" commands on most Linux platforms pull up the same application. Check this out on one of my fully-patched CentOS-7 systems:
>
> [neil at kawc4n ~]$ gcc --version
> gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-36)
> Copyright (C) 2015 Free Software Foundation, Inc.
>
> [neil at kawc4n ~]$ g++ --version
> g++ (GCC) 4.8.5 20150623 (Red Hat 4.8.5-36)
> Copyright (C) 2015 Free Software Foundation, Inc.
>
> To complicate things further, for quite some time now, "gcc" has meant "gnu compiler collection" rather than "gnu c compiler" although I continually hear people use "gnu c compiler" at local IEEE meetings. (coffee shops; not formal speech from the lectern)
Hmmm.
I believe that convention is:
GCC = GNU Compiler Collection
gcc = GNU C compiler
And gcc and g++ does not run the same executables.
gcc runs:
1) cc1
2) as
3) collect2
g++ -c runs:
1) cc1plus
2) as
3) collect2
Arne
More information about the Info-vax
mailing list