[cfe-dev] flag for selecting a specific gcc toolchain version

Gaetano Checinski via cfe-dev cfe-dev at lists.llvm.org
Wed Feb 1 07:22:13 PST 2017


i noticed that there seems to be no way to select a particular gcc
toolchain version, am i correct ?
--gcc-toolchain seems not to be very granular as it expects sth like /usr
and then automatically picks the latest version.

Currently, as a workaround i'm mimicking /usr  using symlinks excluding all
the gcc versions i don't want.
I've posted the question and answered it on stackoverflow:
http://stackoverflow.com/a/41982109/3053638
<https://mailtrack.io/trace/link/b8466bc1b758d9638ce21f6d292e271bf0a55dad?url=http%3A%2F%2Fstackoverflow.com%2Fa%2F41982109%2F3053638&signature=83af3282bd970ca1>


Assuming there is no better way, i would love to contribute a patch.
Can anyone give me a hint where the best place is to integrate this
functionality?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20170201/0adb481f/attachment.html>


More information about the cfe-dev mailing list