7 Common base class for GNU compilers. Turns SourceFiles into ObjectFiles.
9 Since invocation is mostly the same for all language frontends, most of the
10 logic is here and the individual tools only handle creating source files of
13 class GnuCompiler: public Tool
16 GnuCompiler(Builder &, const Architecture &, const std::string &);
18 virtual Target *create_source(const Component &, const Msp::FS::Path &) const;
19 virtual Target *create_source(const Msp::FS::Path &) const;
20 virtual Target *create_target(const std::list<Target *> &, const std::string &);
21 virtual std::string create_build_signature(const BuildInfo &) const;
23 virtual void do_prepare();
25 virtual Task *run(const Target &) const;