X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fgnulinker.h;h=e8a4e3ce996f749659485aa7133ec9ec82fcf58e;hb=HEAD;hp=8c380c85ae9beb95c02c1c68645a1b580458c85d;hpb=03227882aef8b448065e6ca9cda9b7722b7a9753;p=builder.git diff --git a/source/gnulinker.h b/source/gnulinker.h deleted file mode 100644 index 8c380c8..0000000 --- a/source/gnulinker.h +++ /dev/null @@ -1,37 +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 std::string create_build_signature(const BuildInfo &) 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