On 18.08.23 04:27, YunQiang Su wrote:
Package: src:gcc-13 Version: 13.2.0-4 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
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