X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fgnulinker.h;h=e8a4e3ce996f749659485aa7133ec9ec82fcf58e;hb=HEAD;hp=a0632d6ab3fdabdb50c754896c90ed9351eaedf2;hpb=edd4771292a2273080fbcbac266c6831834b0b86;p=builder.git diff --git a/source/gnulinker.h b/source/gnulinker.h deleted file mode 100644 index a0632d6..0000000 --- a/source/gnulinker.h +++ /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 &, const std::string &) override; - Target *create_install(Target &) const override; - std::string create_build_signature(const BuildInfo &) const override; -protected: - void do_prepare(ToolData &) const override; -private: - static ExternalTask::Arguments _run(const Binary &, Msp::FS::Path &); -}; - -#endif