On 01/27/2010 12:18 PM, Germán A. Racca wrote:
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 RegardsThey 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'
Hi German, Maybe for the 64bit binaries, but not for the 32bit binaries: file /usr/bin/g++ /usr/bin/c++/usr/bin/g++: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, stripped /usr/bin/c++: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, stripped
And /usr/lib/ccache (belonging to the ccache package) is not standardly installed!
Not until having installed ccache, then ccache will contain g++ and c++: ls -l /usr/lib/ccache total 0 lrwxrwxrwx 1 root root 16 2010-01-27 12:29 c++ -> ../../bin/ccache lrwxrwxrwx 1 root root 16 2010-01-27 12:29 cc -> ../../bin/ccache lrwxrwxrwx 1 root root 16 2010-01-27 12:29 g++ -> ../../bin/ccache lrwxrwxrwx 1 root root 16 2010-01-27 12:29 gcc -> ../../bin/ccachelrwxrwxrwx 1 root root 16 2010-01-27 12:29 i686-redhat-linux-c++ -> ../../bin/ccache lrwxrwxrwx 1 root root 16 2010-01-27 12:29 i686-redhat-linux-g++ -> ../../bin/ccache lrwxrwxrwx 1 root root 16 2010-01-27 12:29 i686-redhat-linux-gcc -> ../../bin/ccache
Regards -- Joachim Backes <joachim.backes@xxxxxxxxxxxxxx> http://www.rhrk.uni-kl.de/~backes
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature
-- 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