4 #include <msp/builder/tool.h>
9 The GNU compiler. Can be created with different tags for different languages.
10 Turns SourceFiles into ObjectFiles.
12 class GnuCompiler: public Tool
15 GnuCompiler(Builder &, const Architecture &, const std::string &);
17 Target *create_source(const Component &, const Msp::FS::Path &) const override;
18 Target *create_source(const Msp::FS::Path &) const override;
19 Target *create_target(const std::vector<Target *> &, const std::string &) override;
20 std::string create_build_signature(const BuildInfo &) const override;
22 void do_prepare(ToolData &) const override;
23 void prepare_syspath(ToolData &) const;
24 void prepare_version(ToolData &) const;
25 unsigned query_version(const std::string &, const std::string &) const;
28 static ExternalTask::Arguments _run(const ObjectFile &, Msp::FS::Path &);