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

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

 



On Wed, Jan 27, 2010 at 12:07:01PM +0100, Joachim Backes wrote:
> 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?

It is a link (hardlink).

> 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

	Jakub
-- 
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