Re: Difference between g++ and c++?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2010-01-27 at 12:07 +0100, Joachim Backes wrote:
> Hi,
> 
> In F12, I installed gcc-c++, containing /usr/bin/g++ and /usr/bin/c++: 
> comparing both, getting the result: these files are identical. Why then 
> c++ is not a link to g++? Are there important philosophical or 
> historical reasons?
> 
> ls -l /usr/bin/c++ /usr/bin/g++
> -rwxr-xr-x 4 root root 235972 2009-12-22 13:57 /usr/bin/c++
> -rwxr-xr-x 4 root root 235972 2009-12-22 13:57 /usr/bin/g++
> 
> diff /usr/bin/c++ /usr/bin/g++ && echo files are identical
> files are identical
> 
> Regards
They are links to the same file.

$ file /usr/lib64/ccache/g++
/usr/lib64/ccache/g++: symbolic link to `../../bin/ccache'

$ file /usr/lib64/ccache/c++
/usr/lib64/ccache/c++: symbolic link to `../../bin/ccache'

-- 
Germán A. Racca
National Institute for Space Research (INPE)
São José dos Campos - SP - Brasil
http://sites.google.com/site/gracca
http://gracca.wordpress.com

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux