X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fgnulinker.h;h=e8a4e3ce996f749659485aa7133ec9ec82fcf58e;hb=HEAD;hp=6bd11ca441afda7f4be2e275d4ce80862894de2e;hpb=0368a9c1972ff5fd6cd8984901ff0bdbd86afc9f;p=builder.git diff --git a/source/gnulinker.h b/source/gnulinker.h deleted file mode 100644 index 6bd11ca..0000000 --- a/source/gnulinker.h +++ /dev/null @@ -1,36 +0,0 @@ -#ifndef GNULINKER_H_ -#define GNULINKER_H_ - -#include "tool.h" - -/** -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 -{ -private: - class Linker: public SubTool - { - public: - Linker(GnuLinker &, const std::string &); - - virtual Target *create_target(const std::list &, const std::string &) const; - virtual Task *run(const Target &) const; - }; - - Linker *default_linker; - Linker *cxx_linker; - -public: - GnuLinker(Builder &, const Architecture &); - ~GnuLinker(); - - virtual Target *create_target(const std::list &, const std::string &) const; - virtual Task *run(const Target &) const; -}; - -#endif