7 The GNU linker. Turns ObjectFiles into Executables and SharedLibraries. To
8 create a shared library, specify "shared" as the second argument to
11 Uses either gcc or g++ depending on what was used to compile the object files.
13 class GnuLinker: public Tool
16 class Linker: public SubTool
19 std::string compiler_tag;
22 Linker(GnuLinker &, const std::string &);
24 virtual Target *create_target(const std::list<Target *> &, const std::string &);
25 virtual Target *create_install(Target &) const;
26 virtual std::string create_build_signature(const BuildInfo &) const;
28 virtual void do_prepare();
30 virtual Task *run(const Target &) const;
33 Linker *default_linker;
37 GnuLinker(Builder &, const Architecture &);
40 virtual Target *create_target(const std::list<Target *> &, const std::string &);
41 virtual Target *create_install(Target &) const;
42 virtual Task *run(const Target &) const;