[cfe-dev] Cleaning up the clang::driver::toolchains::Linux mess?

Konstantin Tokarev annulen at yandex.ru
Tue Jun 14 02:04:25 PDT 2011



14.06.2011, 12:26, "David Chisnall" <csdavec at swan.ac.uk>:
> Chris did some brief design (search for Universal Driver) a while ago, but it didn't get implemented.  I'd love to see the toolchain descriptions moved out into a config file, so when a Linux distro decides to randomly move all of their paths around again users just need to update a config file specifying the default locations, and users can create cross-compile toolchain descriptions just by editing a config file, without needing to hack on clang.

Autodetection of paths from default gcc also make sense, e.g. in Gentoo one can easily switch active gcc version, and Clang could follow it.

-- 
Regards,
Konstantin



More information about the cfe-dev mailing list