+GnuLinker::Linker::Linker(GnuLinker &p, const string &ct):
+ SubTool(p),
+ compiler_tag(ct)
+{ }
+
+Target *GnuLinker::Linker::create_target(const list<Target *> &sources, const string &arg)
+{
+ return parent.create_target(sources, arg);
+}
+
+Target *GnuLinker::Linker::create_install(Target &target) const
+{
+ return parent.create_install(target);
+}
+
+string GnuLinker::Linker::create_build_signature(const BuildInfo &binfo) const
+{
+ string result = FS::basename(executable->get_path());
+ result += ',';
+ if(binfo.libmode<=BuildInfo::STATIC)
+ result += 't';
+ else
+ result += 'd';
+ if(binfo.strip)
+ result += 's';
+ result += ",l";
+ result += join(binfo.libs.begin(), binfo.libs.end(), ",l");
+ return result;
+}
+
+void GnuLinker::Linker::do_prepare()