https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120905

--- Comment #21 from TCH <tch at protonmail dot com> ---
Created attachment 61936
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61936&action=edit
A script which removed the unnecessary binary duplications

On Solaris/SPARC, '/path/to/gcc/bin' contains the following files:

c++
cpp
g++
gcc
gcc-ar
gcc-nm
gcc-ranlib
gcov
gcov-dump
gcov-tool
sparc-sun-solaris2.10-c++
sparc-sun-solaris2.10-g++
sparc-sun-solaris2.10-gcc
sparc-sun-solaris2.10-gcc-8.5.0
sparc-sun-solaris2.10-gcc-ar
sparc-sun-solaris2.10-gcc-nm
sparc-sun-solaris2.10-gcc-ranlib

However, 'c++', 'sparc-sun-solaris2.10-c++' and 'sparc-sun-solaris2.10-g++' are
bit-to-bit equivalent redundant duplicates of 'g++', and so are
'sparc-sun-solaris2.10-gcc' and 'sparc-sun-solaris2.10-gcc-8.5.0' of 'gcc', and
'sparc-sun-solaris2.10-gcc-ar', 'sparc-sun-solaris2.10-gcc-nm' and
'sparc-sun-solaris2.10-gcc-ranlib' are also duplicates of 'gcc-ar', 'gcc-nm'
and 'gcc-ranlib'. This is unnecessary. The attached script removes the
duplicates and creates symlinks in place of them. Must be ran from
'/path/to/gcc/bin'.

Reply via email to