]> git.tdb.fi Git - builder.git/blobdiff - source/gnulinker.h
Refactor transitive dependencies to work on all targets
[builder.git] / source / gnulinker.h
diff --git a/source/gnulinker.h b/source/gnulinker.h
deleted file mode 100644 (file)
index c04afd1..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-#ifndef GNULINKER_H_
-#define GNULINKER_H_
-
-#include "tool.h"
-
-class Binary;
-
-/**
-The GNU linker.  Turns ObjectFiles into Executables and SharedLibraries.  To
-create a shared library, specify "shared" as the second argument to
-create_target.
-
-Uses either gcc or g++ depending on what was used to compile the object files.
-*/
-class GnuLinker: public Tool
-{
-public:
-       GnuLinker(Builder &, const Architecture &);
-
-       Target *create_target(const std::vector<Target *> &, const std::string &) override;
-       Target *create_install(Target &) const override;
-       std::string create_build_signature(const BuildInfo &) const override;
-protected:
-       void do_prepare() override;
-private:
-       static Task *_run(const Binary &);
-};
-
-#endif