[LLVMdev] clang searching for many linux directories that do not exist on FreeBSD host
David Chisnall
David.Chisnall at cl.cam.ac.uk
Fri Jul 19 01:07:16 PDT 2013
On 19 Jul 2013, at 02:14, Eli Friedman <eli.friedman at gmail.com> wrote:
> It's straightforward: you just need to make toolchains::FreeBSD
> inherit directly from ToolChain and implement all the methods it would
> otherwise inherit from Generic_ELF (which in turn inherits from
> Generic_GCC).
Wouldn't it make more sense to move the Linux-specific code out of Generic_GCC and into the Linux toolchain, rather than making all of the other subclasses of Generic_GCC reimplement the common code?
David
More information about the llvm-dev
mailing list