#1049993 gcc: add symlink for path with vendored-triple

Package:
src:gcc-13
Source:
src:gcc-13
Submitter:
YunQiang Su
Date:
2023-09-17 12:54:05 UTC
Severity:
normal
Tags:
#1049993#5
Date:
2023-08-18 02:27:53 UTC
From:
To:
Can we consider adding a symlink from non-vendor triples to vendored triples?
For example:
     /usr/lib/gcc/x86_64-linux-gnu -> /usr/lib/gcc/x86_64-unknown-linux-gnu

LLVM guys complains about it:
https://reviews.llvm.org/D158183#4596086

#1049993#10
Date:
2023-08-18 07:03:39 UTC
From:
To:
I don't think this is a good idea.  The triplets are organized to follow the
multiarch triplets where possible (the one exception is i386). So unless you
want to change the multiarch triplets, this is a no-go.

it would be much better to directly fetch the installation information from GCC,
i.e.

   gcc -print-search-dirs
   gcc -print-multiarch