9 The GNU linker. Turns ObjectFiles into Executables and SharedLibraries. To
10 create a shared library, specify "shared" as the second argument to
13 Uses either gcc or g++ depending on what was used to compile the object files.
15 class GnuLinker: public Tool
18 class Linker: public SubTool
21 std::string compiler_tag;
24 Linker(GnuLinker &, const std::string &);
26 std::string create_build_signature(const BuildInfo &) const override;
28 void do_prepare() override;
31 static Task *_run(const Binary &);
34 Linker *default_linker = 0;
35 Linker *cxx_linker = 0;
38 GnuLinker(Builder &, const Architecture &);
41 Target *create_target(const std::vector<Target *> &, const std::string &) override;
42 Target *create_install(Target &) const override;
44 void do_prepare() override;