4 #include <msp/builder/tool.h>
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 GnuLinker(Builder &, const Architecture &);
20 Target *create_target(const std::vector<Target *> &, const std::string &) override;
21 Target *create_install(Target &) const override;
22 std::string create_build_signature(const BuildInfo &) const override;
24 void do_prepare(ToolData &) const override;
26 static ExternalTask::Arguments _run(const Binary &, Msp::FS::Path &);